[MapQuery] coordinates in non-4326
steven at minst.net
Tue Jun 21 13:02:03 EDT 2011
Just had an idea on implementing support for non-4326 coordinates in the goto function.
It would be nice to use a global option (for instance map.options.displayProjection) to define which projection all coordinates (except the map.projection) are. So goto() will take coordinates in displayProjection, where the default is 4326.
Also at some point we could do something like goto(box:[1,2,3,4], projection: 'epsg:28992') to override the defaultProjection for a single action
What do you think?
More information about the MapQuery