Hi, I did read the posting guide and you can visit the map at www.showchoir.com/choirs, but you'll have to register for an account first before it will let you view any of the pages. I didn't figure that would be a popular option here.
Yes, I am using version 2.0 as far as I know. Do I just change &v=2 to &v=2.146 to make it work? Thanks. On Mar 12, 3:39 am, Andrew Leach <[email protected]> wrote: > On Mar 12, 9:45 am, Samuel1774 <[email protected]> wrote: > > > Hi, > > > I am having trouble getting the tooltip function to work. I have > > read > > several threads but can't quite see my mistake. > > Neither can I. Using an option of {title:} works. > > > > > Here is my code: > > > <script type="text/javascript"> > > function initialize() { > > if (GBrowserIsCompatible()) { > > var map = new GMap2(document.getElementById("map_canvas")); > > var geocoder = new GClientGeocoder(); > > geocoder.getLatLng("address, $city, $state, $zip", function(point){ > > map.setCenter(point, 15); > > map.addOverlay(new GMarker(point, {title: "label"})); > > map.setUIToDefault(); });} > > } > > > </script> > > > This happens inside a .php document; the location (address, city, > > state, zip) are filled in dynamically upon loading the page. > > > Any help would be greatly appreciated. Thanks. > > Please provide a link. I can't get > map.addOverlay(new GMarker(point, {title: "label"})); > to go wrong. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
