Tabnine Logo
org.gwtopenmaps.openlayers.client
Code IndexAdd Tabnine to your IDE (free)

How to use org.gwtopenmaps.openlayers.client

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

origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
* Method: setIcon
* Change the icon image.
* icon (Icon) the image of icon  
*/    
public void setIcon(Icon icon){
  MarkerImpl.setIcon(getJSObject(),icon.getJSObject()); 	
}
/**
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * @return LonLat - the coordinates of the center
 */
public LonLat getCenter(){
  return new LonLat(MapImpl.getCenter(getJSObject()));
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * Method setLonlat
 * Change the lonlat of Icon
 * lonlat (LonLat) the position of this marker
 */
public void setLonLat(LonLat lonlat){
  MarkerImpl.setLonLat(getJSObject(),lonlat.getJSObject());    	
}
/**
origin: org.n52.sensorweb/sensorwebclient-ui

private void initializeDefaultMapOptions() {
  defaultMapOptions.setMaxResolutionToAuto();
  defaultMapOptions.setNumZoomLevels(18);
  defaultMapOptions.setUnits(MapUnits.DEGREES);
  defaultMapOptions.setDisplayProjection(new Projection(DISPLAY_PROJECTION));
}
origin: geosdi/GWT-OpenLayers

public Bounds transform(Projection source,
    Projection dest) {
  return Bounds.narrowToBounds(BoundsImpl.transform(getJSObject(),
                           source.getJSObject(),
                           dest.getJSObject()));
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * @param size - size of the icon image
 */
//this method is private in OpenLayers, but also used
// by the OpenLayers markerResize example, it seems it should be public
public void setSize(Size size){
  IconImpl.setSize(getJSObject(), size.getJSObject());
}
origin: geosdi/GWT-OpenLayers

/**
 *
 * @return the center of the bounds in map space
 */
public LonLat getCenterLonLat() {
  return LonLat.narrowToLonLat(BoundsImpl.getCenterLonLat(
      this.getJSObject()));
}
origin: geosdi/GWT-OpenLayers

/**
 * @return the size of the box
 */
public Size getSize() {
  return Size.narrowToSize(BoundsImpl.getSize(getJSObject()));
}
origin: geosdi/GWT-OpenLayers

/**
 * @return the center of the bounds in pixel space
 */
public Pixel getCenterPixel() {
  return Pixel.narrowToPixel(BoundsImpl.getCenterPixel(this.getJSObject()));
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/** Fill opacity (0-1). */
public double getFillOpacity() {
  double o = StyleImpl.getFillOpacity(getJSObject());
  return o;
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * Hex stroke color. Default is '#ee9900'.
 *
 * @param c
 *            - see setFillColor
 */
public void setStrokeColor(String c) {
  StyleImpl.setStrokeColor(getJSObject(), c);
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * The height of the background graphic. If not provided, the graphicHeight
 * will be used.
 */
public void setBackgroundHeight(int backgroundHeight) {
  StyleImpl.setBackgroundHeight(getJSObject(), backgroundHeight);
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * Vertical Label alignment. This specifies the insertion point relative to
 * the text.
 */
public String getLabelAlign() {
  return StyleImpl.getLabelAlign(this.getJSObject());
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

  /**
   * Tooltip for an external graphic. Only supported in Firefox and Internet
   * Explorer.
   */
  public String getGraphicTitle() {
    return StyleImpl.getGraphicTitle(this.getJSObject());
  }
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * @param significantDigits - Number of significant digits in the bbox coordinates,
 *      pass null to use the default of 6.
 * @return String - simple string representation of a Bounds object. For example:
 *      "5,42,10,45"
 */
public String toBBox(Integer significantDigits){
  return BoundsImpl.toBBox(getJSObject(), significantDigits);
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

  /**
   * @param url - url for the icon image
   */
  //private in OpenLayers, but it seems it should be public
  public void setUrl(String url){
    IconImpl.setUrl(getJSObject(), url);
  }
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * Named graphic to use when rendering points. Supported values include
 * 'circle' (default), 'square', 'star', 'x', 'cross', 'triangle'.
 */
public String getGraphicName() {
  return StyleImpl.getGraphicName(this.getJSObject());
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * @return double - lower left y-coordinate of bounds
 */
public double getLowerLeftY(){
  return BoundsImpl.getMinY(getJSObject());
}
origin: org.gwtopenmaps.openlayers/openlayers_gwt

/**
 * @return double - upper right x-coordinate of bounds
 */
public double getUpperRightX(){
  return BoundsImpl.getMaxX(getJSObject());
}
origin: geosdi/GWT-OpenLayers

/**
 * @param size - size of the icon image
 */
//this method is private in OpenLayers, but also used
// by the OpenLayers markerResize example, it seems it should be public
public void setSize(Size size){
  IconImpl.setSize(getJSObject(), size.getJSObject());
}
org.gwtopenmaps.openlayers.client

Most used classes

  • MapOptions
    Map properties can be configurated by passing a MapOptions object to the MapWidget constructor. See
  • MapWidget
    See Map.
  • Bounds
    Represents a bounding box (or bounding rectangle).
  • LonLat
    Represents a longitude, latitude coordinate pair. Longitude: east-west geographic coordinate. Latitu
  • Map
    The Map class is the hub of OpenLayers. Instances of the Map class are "interactive maps embedded i
  • Style,
  • Geometry,
  • OSM,
  • WMS,
  • WMSOptions,
  • WMSParams,
  • JSObject,
  • Icon,
  • Marker,
  • Pixel,
  • Size,
  • Control,
  • DrawFeatureOptions,
  • MousePositionOptions
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