Answer the question
In order to leave comments, you need to log in
How to get data to build a Google Maps polygon?
Please tell me what are the ways to get data to create a polygon on a Google Maps map. In the examples in the documentation, this is an array of objects, each representing a point with a latitude and longitude
var triangleCoords = [
{lat: 25.774, lng: -80.190},
{lat: 18.466, lng: -66.118},
{lat: 32.321, lng: -64.757},
{lat: 25.774, lng: -80.190}
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question