[OSM-talk] Move the Map
andrzej zaborowski
balrogg at gmail.com
Tue Jun 16 20:00:30 BST 2009
What I was thinking about for some time for experimenting on
www.openstreetmap.pl was that the subset of data would be loaded
together with the bitmap tiles in a txt or json file and objects such
as big roads or buildings highlight when you mouse over them, perhaps
after a short delay. Particularly I wanted this in order to display
somewhere the link to the wikipedia page linked by the means of the
wikipedia= tag that is getting more popular these days, at the same
time the object's shape highlights on the map. My idea for
implementing this would be that the txt/json files would be generated
by the renderer at the same time the tiles are generated and in a
similar directory structure of z/x/y.txt tiles, with the amount of
objects conforming to zoom level. A single txt tile would perhaps
cover nine or sixteen bitmap tiles area as to not generate so many
http requests, and hopefully the browser would cache them like the
bitmaps. Note that I don't know how doable this is yet, but I think
it would serve the purpose of "showing off the data" well.
2009/6/16 Tim Waters (chippy) <chippy2005 at gmail.com>:
> Do you think it makes a difference what area a user views?
> Would zooming based on IP Address be a good idea?
> How about using cookies for non-logged in users?
> How do other mapping websites do things, and are there any lessons to learn?
>
> (One main difference on other sites is that their search box is much
> more prominent)
And functional (i.e actually works).
More information about the talk
mailing list