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

Hello, I managed to get my own Nominatim Server running. I also activated the website and I now see there a nice big map, a search bar / box and results that are displayed nicely.

I have another website and I would like to embed the above elements with workin functionality in it, is it possible and if yes, how would I do that?

Thank your for your time and help, yours truly, Stephano

asked 17 Aug '16, 14:37

Stephano007's gravatar image

Stephano007
617710
accept rate: 0%


To create a map look at the tutorials on http://leafletjs.com/

There is a plugin for leaflet https://github.com/perliedman/leaflet-control-geocoder that adds a searchbox. In the L.Control.Geocoder.Nominatim(options) option you can set the serviceUrl to point to your server URL.

permanent link

answered 17 Aug '16, 15:38

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

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:

×689
×19

question asked: 17 Aug '16, 14:37

question was seen: 5,426 times

last updated: 17 Aug '16, 15:38

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