[OpenLayers-Dev] geolocation example

Pierre Giraud pierre.giraud at camptocamp.com
Tue Jun 21 08:53:46 EDT 2011


Hi all,

I just changed the geolocation example [1].
The purpose was to prevent the map to be zoomed more than once when
tracking user position.

Now if the user checks the "track my position", the map will be zoomed
and the circle will pulsate. Then, the map will be recentered to
user's position each time he moves. But, he's allowed to zoom out. The
zoom level will be kept until he clicks on the "locate me" button.

I think this use case is common and I hope this addition makes sense.

Regards,
Pierre

[1] http://trac.osgeo.org/openlayers/changeset/12117

-- 
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list