Hugo Estrada
2009-Jun-02 02:06 UTC
[Mapstraction] mousePosition: should it have an argument to set number of decimal points?
Hi, there, While implementing the virtual earth (bing?) mousePosition method, I thought that maybe it should be a good idea to add to it an argument to set how many decimal points the user wants to display. Is it set to 4 decimal places because more are not significant? Or is there another reason why it is set to 4? Just a thought :) Hugo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090601/c83b5021/attachment.htm>
Derek Fowler
2009-Jun-02 22:32 UTC
[Mapstraction] mousePosition: should it have an argument to set number of decimal points?
I didn''t even realise that method existed! I''d suggest just adding an event that folks can hook up to themselves and do whatever they want with. Derek On Tue, Jun 2, 2009 at 3:06 AM, Hugo Estrada <hugoestr at gmail.com> wrote:> Hi, there, > > While implementing the virtual earth (bing?) mousePosition method, I > thought that maybe it should be a good idea to add to it an argument to set > how many decimal points the user wants to display. > > Is it set to 4 decimal places because more are not significant? Or is there > another reason why it is set to 4? > > Just a thought :) > > Hugo > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > >-- Derek Fowler m. +44 (0) 7966 512 369 e. dezfowler at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20090602/596bc765/attachment.htm>