Why not ask your question on the new OpenStreetMap Community Forum?

Hello everyone. I figured out how to embed a map on my site (via HTML). But the map is inserted without a search bar http://joxi.ru/BA0Xn5aC1GDa5A . Can you tell me how to add a search bar? where can i find documentation?

asked 10 Feb '22, 13:48

%D0%9F%D0%B5%D1%82%D1%801245's gravatar image

accept rate: 0%

edited 10 Feb '22, 13:50


Unfortunately the iframe code from opentreetmap.org is only meant to display a simple map, optionally with a single marker. Here is the doc.

I'm afraid you'll need to write your own code, using the Leaflet js framework for example.

Or I think you can use facilmap, based on OSM data. Here some code that looks like what you want.


permanent link

answered 10 Feb '22, 19:16

H_mlet's gravatar image

accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 10 Feb '22, 13:48

question was seen: 636 times

last updated: 10 Feb '22, 19:16

powered by OSQA