This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Embed openstreetmap search bar

1

Hi All,

I am interested in embedding the search bar of openstreetmap in my website just like I do for google search. Here is the short template, I am not an expert in php or html.

<form method="get" action="https://www.openstreetmap.org/" target="_blank"> <input type="text" name="q" size="71" maxlength="255" value="" placeholder="Type here to use openstreet map"/> <input type="submit" value="Open street Maps"/> </form>

Please let me know if it is possible and if yes how?

Regards, Pawan

asked 16 Aug '13, 11:36

pkumar's gravatar image

pkumar
26112
accept rate: 0%

Source code available on GitHub .