Adding some documentation to the locationupdated documentation. No functional change.

This commit is contained in:
Pierre GIRAUD
2012-01-13 12:12:35 +01:00
parent e1ea3471e0
commit 78714f6de4

View File

@@ -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