Import SQL Data into JS Array
问题 I want to display a map that shows an array of markers. I'am using OSM with the OpenLayers Library to do that. If I use static values everything works fine. But now I want to display markers that are in a SQL table. What's the best way to get the data and fill it into the JS array? This is my code: <script> map = new OpenLayers.Map("mapdiv"); map.addLayer(new OpenLayers.Layer.OSM()); var size = new OpenLayers.Size(10,10); var icon = new OpenLayers.Icon('img/marker.gif', size); epsg4326 = new