[OpenLayers-Dev] formatting in sexagesimal (dms) format

Ivan Grcic ivan.grcic at geofoto.hr
Wed Feb 11 06:48:43 EST 2009


Hi,

i needed to show my mouse coordinates in sexagesimal format ( DMS ),
but couldnt find any method that would format it like that, nor in
mosuePosition control nor in OpenLayers.Number.format function. So i
ended writing my custom control...

Is this functionality implemented somewhere in OL 2.7 (or in trunk)?
(i think its pretty usefull)
Googlin a bit i found this:
https://api.ign.fr/geoportail/doc/1.0beta3/jsdoc/files/Geoportal/Control/MousePosition-js.html,
it seems they have all these methods there, can we maybe make use of
it (if its not allready somewhere in OL2.7)

Regards,


-- 
Ivan Grcic



More information about the Dev mailing list