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

how to change local tile server’s Map Layers?

0

Hello, I followed this link "https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/" to build my own local tile server. After I finished it I could see my slippymap in my broswer, How can I add Map Layers just like "Standard","Cycle map" and "Transport Map". If I want to add a new layer like "Transport Map", How could I do this?

asked 24 Nov '17, 14:40

gleide's gravatar image

gleide
797712
accept rate: 50%


One Answer:

1

What are you using as the target website (what are you pointing your web browser at)?

There's a simple example (one that I use) over at https://github.com/SomeoneElseOSM/SomeoneElse-map that might be useful. There's also lots at http://leafletjs.com/examples.html .

answered 24 Nov '17, 14:49

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .