What Brian does is set the {onGenerateMarkerHtmlCallback} option of new
google.maps.LocalSearch, so that it calls his own extendMarker()
function rather than using the default behaviour. He also sets several
other LocalSearch options, several of which you will also need.
His extendMarker() function uses my GPolygon.prototype.Contains() to
determine if the point is inside one of the polygons and returns a <div>
called "div" which contains the text to be displayed in the info window.
You can see his code in
http://www.healthypetmobilevet.com/map.js
--
Mike Williams
http://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
-~----------~----~----~----~------~----~------~--~---