Hi, I know I'm repeating the question, but does anybody have any idea how the hot spots are handled?
>From what I can see that is the only thing preventing anybody from creating tile overlay that would mimic the behaviour of "Panoramio" overlay. utvara On Apr 14, 8:30 am, Mike Williams <[email protected]> wrote: > Wasn't it jgordon who wrote: > > > > >What I was thinking was that I could implement my own set of server > >side code to replicate exactly what Google is doing. I do not have > >enough time to set something up for the project I am currently working > >on, but maybe in the future. Using ASP.NET I can search a SQL > >database for all of the locations I want to render, dynamically build > >the overlay layer tiles by adding several markers to a transparent > >background, then dynamically write Javascript code to handle the > >clicks based on an array, hash, or tree of coordinates. I think I am > >going to hold off until we at least get a semi-official answer on if > >they are going to support feature this in future API releases. > > It's rather unlikely that you'll get anything like an official answer > about anything that Google Maps might support in the future. Perhaps you > could add an Enhancement request to the Issues system. Watch the Status, > Priority and Internal fields. If the status stays "New" for a long time > then that suggests that they're not going to support it. > > The conventional way to handle clicks on an overlay like that is to > listen for map clicks, always send the click location to the server and > have it send back either the html for the info window or a negative > response. Even if you write client-side code that does the hotspot > recognition, you'd still want to request the html (as GLayers does) at > the time of the click. You don't want to send1000sets of infowindow > contents from the client to the server on the off chance that the user > might click on one, because transferring all that data would be rather > slow. > > The only thing you'd be missing by not having the client aware of the > hotspots is the change of the cursor as the mouse passes over a hotspot. > If you want that, then add it later after you get the primary > functionality working. > > --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 -~----------~----~----~----~------~----~------~--~---
