Vote count:
0
Instead of adding every single latitude and longitude into my HTML code, is there a way to open up MySQL database, query it, extract the data, then for loop it through in HTML? I have taken this code off of Google Maps API code samples site.
// Adding EnterCode lat/longitude data
var map, pointarray, heatmap;
var EnterCode = [
new google.maps.LatLng(37.782551, -122.445368),
new google.maps.LatLng(37.751266, -122.403355)
//long list of latlng for the heat map they have created
//this is where i potentially want the for loop to continuously create new .latlng data if possible?
];
Thank you!
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire