org.gwtopenmaps.openlayers.client.layer
Class Markers
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.layer.Layer
org.gwtopenmaps.openlayers.client.layer.Markers
- Direct Known Subclasses:
- Boxes
public class Markers
- extends Layer
Markers is the non-preferred way to create marker layers.
Alternatively, use Vector Layers, as explained
here.
- Author:
- Erdem Gunay, Wayne Fang - Refractions Research, Aaron Novstrup - Stottler Henke Associates, Inc.
Fields inherited from class org.gwtopenmaps.openlayers.client.layer.Layer |
ARCGIS93REST_CLASS_NAME, BOXES_CLASS_NAME, GOOGLE_CLASS_NAME, GRIDLAYER_CLASS_NAME, HTTPREQUESTLAYER_CLASS_NAME, IMAGE_CLASS_NAME, MARKERS_CLASS_NAME, OSM_CLASS_NAME, TMS_CLASS_NAME, VECTOR_CLASS_NAME, WMS_CLASS_NAME, XYZ_CLASS_NAME |
Methods inherited from class org.gwtopenmaps.openlayers.client.layer.Layer |
addLayerLoadCancelListener, addLayerLoadEndListener, addLayerLoadStartListener, addLayerVisibilityChangedListener, addOptions, displayInLayerSwitcher, getId, getName, getOpacity, getZIndex, isBaseLayer, isVisible, narrowToLayer, redraw, setDisplayInLayerSwitcher, setIsBaseLayer, setIsVisible, setName, setOpacity, setZIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Markers
protected Markers(JSObject markersLayer)
Markers
public Markers(String name)
Markers
public Markers(String name,
MarkersOptions options)
narrowToMarkers
public Markers narrowToMarkers(JSObject markersLayer)
addMarker
public void addMarker(Marker marker)
removeMarker
public void removeMarker(Marker marker)
clearMarkers
public void clearMarkers()
getMarkers
public JSObject[] getMarkers()
getDataExtent
public Bounds getDataExtent()
destroy
public void destroy()
Copyright © 2011 sourceforge. All Rights Reserved.