Hey folks,

On Sun, May 9, 2010 at 12:16 PM, Hermann Kraus <[email protected]> wrote:
>
> As far as I've investigated it so far every click on the map sends a
> request to Google's servers which contains the point the user clicked at
> and returns information about the feature at this position (if any).

Last time i looked at how the Wikipedia layer worked: when the user
hovers the mouse over a map-tile, a request is sent to load the "hit
areas" for that map tile. That allows the mouse-cursor to change when
it's over a hit-area, and for a "hit" to be detected when the map is
clicked (kicking off the request).

> I think file based output would be the easiest solution because it can
> be read by any text editor. (This helps debugging). When this works more
> formats can be added.
>

My votes would be for a DB table populated with the data
(sqlite/postgis) and a json text file for each map/map-tile. (ideally
a JSONP-style file with a pre-specified callback so it can be used
cross-domain, but we can sort out those details later). Once you have
the json files and rendered map tiles then the client has everything
it needs.

Rob :)
_______________________________________________
Mapnik-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-devel

Reply via email to