| Version 8 (modified by euzuro, 7 years ago) |
|---|
ArgParser Control
- Class Definition: trunk/openlayers/lib/OpenLayers/Control/ArgParser.js
- API Reference: http://openlayers.org/doc/reference.html#OpenLayers.Control.ArgParser
- Subclass of: OpenLayers.Control
The ArgParser is an OpenLayers Control that adds location bar querystring parsing functionality to an OpenLayers Map.
When added to a Map control, on a page load/refresh, the Map will automatically take the href string and parse it for lon, lat, zoom, and layers information.
Example:
http://www.openlayers.org/dev/examples/controls.html?lat=-13.08191&lon=-38.73143&zoom=12&layers=0BF
