How can I load coordinates (lng/lat) from a database (MySQL) into a map service like Google Maps or Leaflet?
Currently I only have a JavaScript which loads a GeoJSON file with coordinates.
I want to inject them from my database to the map. I'm not very skilled in web development.
Why can't I just do SQL queries in JavaScript and print the results to the map like in Java where I just loop the result set and operate on my data.
Or do I have to use PHP or some other server side scripting language? The issue is, I have to use Java to process the coordinates.