Plotting "points" On Google Maps Using Javascript Api
I'm currently loading an extensive set of points (latitude, longitude pairs) into a Google Map. My problem is that Google Maps plots these points as markers (the default kind), whi
Solution 1:
A quick and dirty example (took something from the documentation and modified it):
map.data.setStyle(function(feature) {
return/** @type {google.maps.Data.StyleOptions} */({
icon: "https://maps.gstatic.com/intl/en_us/mapfiles/markers2/measle.png"
});
});
Post a Comment for "Plotting "points" On Google Maps Using Javascript Api"