Thanks Mike. This is more complex that what I thought first... And not much documentation is available online.
I appreciate your answer. I'll think I will stick with simpler solution like marker clustering. On Sep 2, 1:08 pm, Mike Williams <[email protected]> wrote: > Those dots are not GMarkers, they're a GLayer. That layer consists of > three parts: > > 1. A GTileLayerOverlay that displays tiles like this: > > http://mlt0.google.com/mapslt?lyrs=lmq:8:pizza*,|s:11259793464583361879 > 9|h:2b|cc:FR&x=4147&y=2817&z=13&w=256&h=256&gl=fr&hl=fr > > 2. a mechanism for obtaining the infowindow details for clicked hotspots > > 3. a mechanism for changing the cursor when the mouse is over a hotspot > > At present there's no interface for creating custom GLayers, so to do > the same sort of thing you'd have to do the three sections separately. > > 1. You'll need a server that can search your database and create a > suitable tile image with just the hotspots shown. Use that server to > supply the tiles for a GTileLayerOverlay. > > 2. The easiest way to do that is to listen for all map clicks and send > the coordinates to a server which scans your database and returns the > infowindow details if there's a hotspot at that location. > > 3. Is quite tricky, but has been discussed in the group before, so > search the group when you get that far. > > -- > Mike Williamshttp://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
