How to add labels on Google Maps Pinpoints?
- by Jason
Creating a google map with store locations within 50 miles of user entered address. Have map & pinpoints showing correctly but all of the pinpoints just have a dot on them. I'd like to be able to label them A, B, C, D, etc so that I can list out locations & addresses in sidebar.
How would I do this? Here's the code I'm using to add my pinpoints.
var point = new GLatLng(latitude, longitude);
var marker = new GMarker(point);
GEvent.addListener(marker, "click", function () {
map.openInfoWindowHtml(point, myHtml);
});
map.addOverlay(marker);