I want to show a Highway on OpenStreetMap on my React Web App and then Mark Toll Booths, Petrol Pumps, Highway Malls etc on that highway on OpenSteetMap. When I click on the marker for a particular Toll Booth or Petrol Pump I want to show a Modal and show details of the place.

Also, I want to add highway CCTV locations on the opensteetmap and when clicked on that CCTV icon I want to show a Modal and show the CCTV details from my Database.

I am looking for a article which explains the development of above type of feature in ReactJS with OpenStreetMap

asked 15 Jul, 20:25

omkarl's gravatar image

accept rate: 0%

You need a slippy map component for that. The most popular one at the moment is probably Leaflet, and it also offers itself as a react component

See these sites to get started:

permanent link

answered 16 Jul, 14:04

Sanderd17's gravatar image

accept rate: 31%

Thanks @sanderd. What is a slippy map in between?

(16 Jul, 19:45) omkarl
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 15 Jul, 20:25

question was seen: 525 times

last updated: 17 Jul, 07:27

Related questions

powered by OSQA