Hi, I have setup tile server successful & after that how to connect to leaflet & how to edited map. I want to upload in project I can't find the way after setting up tile server from switch2osm.org help. Kindly provide step by step after tile server, what next?? asked 12 Aug '17, 12:18 ranveerneemkar |
I suggest that you use Leaflet in-browser to display your map, and I suggest that you work through the tutorials here. answered 13 Aug '17, 15:12 SomeoneElse ♦ Thanks, by which IP address we get slippy map & after that how we need to connect IP address to leaflet
(13 Aug '17, 15:44)
ranveerneemkar
https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ contains a section that says "if you don’t know what IP address it will have been assigned" - read that for details. In order to "connect that to Leaflet" you'll find out what you need to do by reading the first tutorial which describes how to create a tile layer ("L.tileLayer"). You won't want to use a Mapbox URL and Mapbox API key there though; you'll want to use a URL that identifies tiles wherever you have created them.
(13 Aug '17, 16:51)
SomeoneElse ♦
|
You should get the slippy map at http://localhost/osm/slippymap.html (it might be different if you've done a manual install).
Is this question a duplicate of https://help.openstreetmap.org/questions/58169/after-installing-own-tile-server-seeing-from-switch2osmorg-but-cant-find-the-way-how-to-edit-map-config-etc ? If not, in what way is it different?
Hi SomeoneElse, thanks for answing. it's not duplicate it's other question we lose the way how to go further steps for using map in our project. We should use leaflet or openlayer & we use how to edit map for using GPS purpose in tracking part.
Hi SK53, thanks for answing, yes we have done manual but how to get slippy map view. Kindly help us for further steps.