org.gwtopenmaps.openlayers.client.control
Class ArgParser
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.Control
org.gwtopenmaps.openlayers.client.control.ArgParser
public class ArgParser
- extends Control
Parses arguments passed to the url at which the application is located. For example:
http://www.mydomain.org/myapp.html?lat=-13.08191&lon=-38.73143&zoom=12&layers=0BF
The ArgParser control will parse the lat, lon, zoom, and layers arguments on page load/refresh.
This can be used to initialize the map from the url.
This control is added to OpenLayers maps by default.
Other controls that are added by default are the PanZoom
,
Navigation, and Attribution
.
- Since:
- GWT-OL 0.4, OL ...
- Author:
- Edwin Commandeur - Atlis Information Systems
Methods inherited from class org.gwtopenmaps.openlayers.client.control.Control |
activate, addControlActivateListener, addControlDeactivateListener, deactivate, disable, enable, getControlId, getLayer, getMap, getZIndex, isActive, narrowToControl, setAutoActivate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgParser
protected ArgParser(JSObject element)
ArgParser
public ArgParser()
ArgParser
public ArgParser(ArgParserOptions options)
Copyright © 2011 sourceforge. All Rights Reserved.