How could I populate a javascript array like below, from a SOQL Query?
var DemoLocationData = [
[49.2812668, -123.1035942, "26 E Hastings St, Vancouver" ],
[49.2814064, -123.1025187, "71 E Hastings St, Vancouver" ],
[49.2812336, -123.1020622, "122 E Hastings St, Vancouver" ],
[49.2813564, -123.1012253, "138 E Hastings St, Vancouver" ],
[49.2811625, -123.0985032, "242 E Hastings St, Vancouver" ]
];
This is so I can display my all of custom object's types location on a Google Map (e.g Cars). I have already achieved this for a single Car, and I am displaying this inline on the master detail page - but now I am developing a standalone page.