A brilliant patch adding better documentation to all of our controls from an
unnamed contributor on OpenLayers trac. (Closes #1751) git-svn-id: http://svn.openlayers.org/trunk/openlayers@8942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -9,7 +9,12 @@
|
||||
|
||||
/**
|
||||
* Class: OpenLayers.Control.ArgParser
|
||||
*
|
||||
* The ArgParser control 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.
|
||||
*
|
||||
* Inherits from:
|
||||
* - <OpenLayers.Control>
|
||||
*/
|
||||
@@ -37,6 +42,7 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
|
||||
* APIProperty: displayProjection
|
||||
* {<OpenLayers.Projection>} Requires proj4js support.
|
||||
* Projection used when reading the coordinates from the URL. This will
|
||||
*
|
||||
* reproject the map coordinates from the URL into the map's
|
||||
* projection.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user