Only 1 contentString displays in custom Google map -
i have used tutorial
adding-custom-google-maps-to-your-website
to create custom google map using v3 of google maps api, but have hit problem :
when markers clicked, info box pops up, each different marker on map displays same contentstring.
you can see here: http://tcchurch.com.au/table1/index.php/missions
i assume there problem code preventing individual contentstrings displaying. if can help, appreciate it.
you need set content each infowindow documentation
google.maps.event.addlistener(companymarker, 'click', function() { infowindow.setcontent(html);//relevant html infowindow.open(map,companymarker); });
Comments
Post a Comment