Adding some documentation to the locationupdated documentation. No functional change.
This commit is contained in:
@@ -24,7 +24,10 @@ OpenLayers.Control.Geolocate = OpenLayers.Class(OpenLayers.Control, {
|
||||
|
||||
/**
|
||||
* Supported event types:
|
||||
* - *locationupdated* Triggered when browser return a new position
|
||||
* - *locationupdated* Triggered when browser return a new position. Listeners will
|
||||
* receive an object with a 'position' property which is the lon lat position, as
|
||||
* well as a 'point' property which the is location transform in the current map
|
||||
* projection.
|
||||
* - *locationfailed* Triggered when geolocation has failed
|
||||
* - *locationuncapable* Triggered when control is activated on a browser
|
||||
* which doesn't support geolocation
|
||||
|
||||
Reference in New Issue
Block a user