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

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's gravatar image

ranveerneemkar
9556
accept rate: 0%

1

You should get the slippy map at http://localhost/osm/slippymap.html (it might be different if you've done a manual install).

(13 Aug '17, 12:43) SK53 ♦

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.

(13 Aug '17, 15:07) ranveerneemkar

Hi SK53, thanks for answing, yes we have done manual but how to get slippy map view. Kindly help us for further steps.

(13 Aug '17, 15:10) ranveerneemkar

I suggest that you use Leaflet in-browser to display your map, and I suggest that you work through the tutorials here.

permanent link

answered 13 Aug '17, 15:12

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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 ♦

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:

×123
×3
×3
×1

question asked: 12 Aug '17, 12:18

question was seen: 2,637 times

last updated: 13 Aug '17, 16:51

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