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

car tracking on map

0

Hi, I need to create a map where will be showed position of serivce car and the map will be embedded on website. I have a json data with dynamic longitude, latitude but don't know how to add it to the map. Any tutorial or how to do it or someone knows how?

asked 08 Nov '18, 14:46

tapicerstwomedyczne's gravatar image

tapicerstwom...
11112
accept rate: 0%

1

Not really related to OSM. Try http://gis.stackexchange.com instead.

(09 Nov '18, 07:55) scai ♦

One Answer:

0

There are any number of examples on how to do this. My current little personal tracker written in PHP is now using Leaflet and uses a OSM map background provide by Mapbox. A starting search might be something like https://duckduckgo.com/?q=leaflet+mapbox+php+tutorial

answered 09 Nov '18, 16:18

n76's gravatar image

n76
10.8k1082172
accept rate: 17%

Source code available on GitHub .