[OGDev] Could maps be centred and scaled
Andrew Black - lists
andrew-lists at mail.black1.org.uk
Thu May 1 05:04:21 BST 2008
I have a suggestion concerning maps (eg map of all points in a
category). I would like to get the maps to be centred and scaled.
For example, in the following, all the points are off the displayed map.
http://london.randomness.org.uk/wiki.cgi?action=index;format=map;index_type=locale;index_value=Carshalton
The following is a quick demo to play with
http://www2.black1.org.uk/~andrew/map/exp_bounds.html
Click on a few points, hit "Reposition map" then repeat.
In practice
- you might want to make it configurable for the user
- apply a minimum zoom (eg my demo produces a very large scale map
if you give a single point)
What do people think.
Andrew
More information about the OpenGuides-Dev
mailing list