Tabnine Logo
MapWidget.setStylePrimaryName
Code IndexAdd Tabnine to your IDE (free)

How to use
setStylePrimaryName
method
in
org.gwtopenmaps.openlayers.client.MapWidget

Best Java code snippets using org.gwtopenmaps.openlayers.client.MapWidget.setStylePrimaryName (Showing top 1 results out of 315)

origin: org.n52.sensorweb/sensorwebclient-ui

public StationSelectorMap(MapController controller) {
  super("523px"); // XXX map needs explicit height in px
  getMapWidget().setStylePrimaryName("n52-sensorwebclient-stationselector-map");
  this.controller = controller;
  map.addLayer(markerLayer);
  try {
    if (isDefinedGlobalExtent()) {
      PropertiesManager propertiesMgr = getPropertiesManager();
      double lleftX = new Double(propertiesMgr.getParameterAsString("lleftX"));
      double lleftY = new Double(propertiesMgr.getParameterAsString("lleftY"));
      double urightX = new Double(propertiesMgr.getParameterAsString("urightX"));
      double urightY = new Double(propertiesMgr.getParameterAsString("urightY"));
      EastingNorthing ll = new EastingNorthing(lleftX, lleftY, DISPLAY_PROJECTION);
      EastingNorthing ur = new EastingNorthing(urightX, urightY, DISPLAY_PROJECTION);
      defaultExtent = new BoundingBox(ll, ur);
    }
    else {
      GWT.log("No global extent configured. Zooming to: " + Constants.FALLBACK_EXTENT);
      defaultExtent = Constants.FALLBACK_EXTENT;
    }
  }
  catch (NumberFormatException e) {
    GWT.log("Error while parsing configured bounding box. Zooming to: " + Constants.FALLBACK_EXTENT);
    defaultExtent = Constants.FALLBACK_EXTENT;
  }
  zoomToExtent(defaultExtent);
}
 
org.gwtopenmaps.openlayers.clientMapWidgetsetStylePrimaryName

Popular methods of MapWidget

  • getMap
    Gets the map associated with a MapWidget instance. The map is instantiated when this method is calle
  • setHeight
  • setWidth
  • <init>
    Programmatically creates the element that will contain the map, with the given width and height. The
  • getElement
  • setElement

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Table (org.hibernate.mapping)
    A relational table
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now