Something to consider would be to use the GD graphics library to 
generate the tiles on demand.

For this to work at a reasonable speed, you'd need to load your 
information into a database in a way that makes it possible to 
efficiently retrieve the text that might be needed for an individual 
tile. I.e. you need the lat/lng information to be a database index, so 
that it doesn't have to read through thousands of entries to find the 
ones that are needed. Then you can write a server that reads the tile 
parameters, scans the database for any entries that might be required 
(allowing for the fact that the text might overlap into this tile from a 
neighbouring one), use GD to render the tile image and return it to the 
client.

There's an example of this in the book: "Beginning Google Maps 
Applications with PHP and Ajax". Their map looks like this:

http://googlemapsbook.com/chapter7/ServerCustomTiles/

and the individual tiles look like this:

http://googlemapsbook.com/chapter7/ServerCustomTiles/server.php?x=115&y=1
94&zoom=9

Their database contains over 115,000 entries.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to