I\'m looking to add markers for each business listed to a Google map v3 API on this page in the top right hand corner.
I\'m not sure how to do this for multiple postcod
I see my code in this!
I am assuming that you want markers to be added on the map. This can be easily done by tweaking the code I supplied before. Quite simply:
geolocate("Your postcode here", function(c) {
var marker = new google.maps.Marker({
position: new google.maps.LatLng(c.center.lat, c.center.lng),
map: map,
// Your other google maps marker options here
});
});
Just duplicate this code as many times as necessary by printing it using ASP, making sure that map
and geolocate
are both within the scope. Each time, it will simply add your marker!