my code:
for (var i = 0; i < <%=rs.recordcount%>; i++)
{
var point = new GLatLng(latp[i], lngp[i])
var marker = new GMarker(point);
map.addOverlay(marker);
addMarkerEvent(marker);
}
function addMarkerEvent(marker){
GEvent.addListener(marker, "click", function(){
var html1=" <a href='http://www.bg4qxw.com'>"+call[i]+" </a>"
marker.openInfoWindowHtml(html1);
});
show undefined???why?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---