I'm trying to do a project, where I grab data from a MySQL database, and display it onto a web map API mashup (showing a chart on the map). I want to develop an example using REST, SOAP and possibly OSPF (still undecided) web services. Can anyone help me with info on which map APIs would work best for these web services?

Would Google API maps work for this?

  • is your mysql database a spatial database? – Mapperz Jul 18 '15 at 20:36
  • no, all i want is to show real time updates of a static device's health which happens to be llocated in different areas on a map. The only need of the map is when hover over an area where the device is located, it will show me the devices performance metrics – Brendan O'Flynn Jul 19 '15 at 16:00
  • Leaflet is probably your best bet, but you will have to convert your data into GeoJSON format beforehand so you can consume it as a web feature service WFS). If you are not completely tied to MySQL I would highly suggest you use PostgreSQL instead, because you can then install the PostGIS extension on it and connect to it via Geoserver. This is a pretty standard stack for a web map application and despite there potentially being a lot of pieces, each one isn't that hard to figure out and are all quite useful on their own. – wfgeo May 18 at 14:14

Ok, a really friendly api is leaflet. Its really easy to learn, has lots of plugins, including showing chart on maps plugins (check out DataViz plugins)

So, if i were you i would check Leaflet first.


the best api is ArcGIS API for JavaScript 3.x https://developers.arcgis.com/javascript/3/jssamples/

then leaflet then openlayer

  • 2
    Why is it the best? – BERA Jul 29 '18 at 11:44
  • because is Big, heavy Javascript mapping library so you need a little coding experience. You can do more processing with it without adding plugins and it interacts well with ArcGIS products – mahmoud hemdan Jul 30 '18 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.