How can I dynamically pass information to array
below?
Example: I have a list of 40 coordinates in a text file, for example, or in a Access
database, how do I pass these coordinates to the variable locations
below? >
var locations = [
{lat: -31.563910, lng: 147.154312},
{lat: -33.718234, lng: 150.363181},
{lat: -33.727111, lng: 150.371124},
{lat: -33.848588, lng: 151.209834},
{lat: -33.851702, lng: 151.216968}
];