NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%


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.

permanent link

answered 19 Jun '18, 22:08

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 19 Jun '18, 22:09

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×290
×39
×37
×3

question asked: 19 Jun '18, 21:41

question was seen: 1,795 times

last updated: 19 Jun '18, 22:09

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum