Hi!

You just have add this property of marker

marker.Options.Title = stringValue;

Thanks & Regards,
Mohammad Rizwan Ansari
محمد رضوان انصارى



On Fri, Jun 25, 2010 at 4:52 PM, indostan.ru <[email protected]> wrote:
> Hi! I am new to Google Maps API. Please tell me what should I add to
> my script to show marker's titles when mouse is on them and is it
> possible to show the Infowidows contents in the same way? My script:
>
> <script type="text/javascript">
>  var map;
>  function onLoad() {
>    if (GBrowserIsCompatible()) {
>      map = new GMap2(document.getElementById("map"));
>      map.addControl(new GLargeMapControl());
>      map.addControl(new GMapTypeControl());
>      var geoXml = new
>      GGeoXml("http://................................";);
>      map.addOverlay(geoXml);
>      map.setCenter(new GLatLng(25.99755,82.661133), 5);
>      }
>  }
>  </script>
>
> --
> 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.
>
>

-- 
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