>                    Attach is my link for 
> thehttp://gamtrack.com.my/sample1/basic.php. Ok then can you just try to draw
> the polygon then you se my problem why is it not appearing the window.

you have the line
    poly.openInfoWindowHtml(htmlString);
'poly' is a GPolyline and does not have a openInfoWindowHtml() method,
so it won't work.

You could instead open an infowindow somewhere on the map
   
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.openInfoWindow
and you could choose 'somewhere' to be the position of the mouse, or
click, or the last vertex of the poly, or the centre of the bounds of
the poly, or wherever you choose.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to