I have developed an HTML page that includes a map generated using JavaScript (Google Maps API). The map is currently populated with markers, but I would like to pull latitude and longitude data from a MySQL database in order to create dynamic markers. Is there a way to access this database data in JavaScript for use with the markers? Unfortunately, I have not been able to find any solutions online.
This project involves HTML5, JavaScript (with jQuery), and Google Maps integration.
//creating the marker on first position
marker = new google.maps.Marker({
position : MarkerCoords,
map : map,
title : 'your position'
});