So I\'m trying to learn how to make a google map. I have very little understanding of javascript but am trying to learn here.
I referenced a code online and I got to
var locations = [
['San Francisco: Power Outage', 37.7749295, -122.4194155],
['Sausalito', 37.8590937, -122.4852507],
['Sacramento', 38.5815719, -121.4943996],
['Soledad', 36.424687, -121.3263187],
['Shingletown', 40.4923784, -121.8891586]
];
Locations represents an array of districts followed by their posicón specifically by its latitude and longitude , so they will be positioned on the map of google , not always latitude and longitude in this way be sent , so you can receive database or json . I hope I've helped.