Can anyone help me search by street name in OpenLayers? I essentially want to be able to search for streets/postcodes in OpenLayers in the same way I can search on Google maps. Is this possible?


3 Answers 3


No, its not that easy. You need to put up a search engine like nominatim for that purpose.


Openlayers is like a really good suspension and you are asking for a full-blown car. You have to find data that has what you want (like Openstreetmap), and load it to a queryable data store. Another option is to leverage something like the mapquest open data apis


Openlayer Geocoder (ESRI and Geonames) Example

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.