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

can someone please help me to know how make use of my osm server

i have been trying to install openstreetmap web site on my own site and finally succeeded installing a tile server and api server

so now how do i do these things

  • if i want to display a marker of a store for example on a a page from my web site (from api or tile)
  • if i want to display multiple markers on a page that a user may click to view nearby restaurants fetched from my osm server (from api or tile)
  • if i want to take input from a user (lon,lat) by letting him point a marker (from api or tile)

asked 31 Oct '17, 13:38

engragy's gravatar image

engragy
11335
accept rate: 0%

edited 03 Nov '17, 15:09

is this a very hard question or is it too dump please if someone knows a link to some documents that may help please advise

(03 Nov '17, 13:35) engragy
1

Perhaps people might be a bit confused about what question you're asking? Maybe some of the things at https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ and http://leafletjs.com/examples.html might help?

(03 Nov '17, 14:02) SomeoneElse ♦

thank you for your response but i have already installed tile server and api server and i do know that i have to use openlayers or leaflet but what i dont konw is am i going to work leaflet for example on the api(i mean port 3000) or the normal tile sever

(03 Nov '17, 15:16) engragy
1

That depends on where you want things to appear and how interactive they are. If you want something to be displayed as part of the background tile images, then you'd modify the style on the tile server. If you want clickable markers overlaid over the tiles, then you'd use the API to retrieve the necessary information and create markers in Leaflet/OpenLayers.

(03 Nov '17, 15:46) alester

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:

×104

question asked: 31 Oct '17, 13:38

question was seen: 2,325 times

last updated: 03 Nov '17, 15:46

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