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

In my project, I need to add a OSM nodes and ways layer into the leaflet.
And currently I already used overpass API queried the nodes and ways data within a bounding box successfully.

Next problem is how to render the data? In fact render nodes is easy, I can just use a styled circle for it. But for ways, I can't think out good methods yet, any one once did similar job before?

By the way, the map I am using is leaflet, but if other options(e.g. Mapbox) can support this requirement better, I'm ok to use new library.

asked 01 Nov '18, 09:00

Chris%20Bao's gravatar image

Chris Bao
11334
accept rate: 0%

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:

×74

question asked: 01 Nov '18, 09:00

question was seen: 1,248 times

last updated: 01 Nov '18, 09:00

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