org.gwtopenmaps.openlayers.client.control
Class ArgParser

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
              extended by org.gwtopenmaps.openlayers.client.control.Control
                  extended by 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

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
  ArgParser()
           
  ArgParser(ArgParserOptions options)
           
protected ArgParser(JSObject element)
           
 
Method Summary
 
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 org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
getListeners, narrowToOpenLayersEObjectWrapper, removeListener
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgParser

protected ArgParser(JSObject element)

ArgParser

public ArgParser()

ArgParser

public ArgParser(ArgParserOptions options)


Copyright © 2011 sourceforge. All Rights Reserved.