This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Trace GPS Coordinates

0

Hi! so right now I have a database that pulls in Longitude/Latitude of Truck locations, how would I display a map of markers via a URL, CURL, or RESTful API? (each truck a different color if possible)

asked 19 Jun '18, 21:41

Maryjane0428's gravatar image

Maryjane0428
21112
accept rate: 0%


One Answer:

1

There literally lots of options. given that you would likely will need a bespoke solution, you should have a look a Leaflet and OpenLayers. Both are JS frameworks that allow displaying data on top of a map background.

Note as this doesn't actually seem to be OSM related you might fare better on GIS Stackexchange.

answered 19 Jun '18, 22:08

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 19 Jun '18, 22:09

Source code available on GitHub .