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

I am building a campus map, and would like to be able to build polygons and paths as layers with leaflet. Is it possible to hide existing sidewalks/buildings in OSM data and replace them with my own?

asked 01 Aug '18, 20:44

ceich11's gravatar image

ceich11
41112
accept rate: 0%


Tiles are fixed images. If you do not like what is on them, you have to use another tile server or create your own tiles.

One day in the future, the OSM servers might serve vector tiles that you can render as you wish (was discussed on SOTM the last weekend).

permanent link

answered 02 Aug '18, 09:46

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

This answer is correct, but there are some ways to work around this. For example, you could try placing another layer on top of the OSM maps. If that layer is opaque on the area of interest, and transparent elsewhere, it will hide the undesired features. It's a crude solution, but perhaps "good enough" for some. :)

(02 Aug '18, 20:38) Tordanik

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:

×75
×74
×19

question asked: 01 Aug '18, 20:44

question was seen: 2,049 times

last updated: 02 Aug '18, 20:38

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