0

How to display a marker using address only and not longitude and latitude

N.R
  • 1
  • 1
  • Possible duplicate of [Place Markers from Name, Address and Post Code](https://stackoverflow.com/questions/15703918/place-markers-from-name-address-and-post-code) – Danziger Jun 04 '17 at 13:29
  • I am using openlayers map and not google map. – N.R Jun 04 '17 at 13:58

1 Answers1

1

OpenLayers does not support geocoding out of the box.

You could use third party libraries like this one:

https://github.com/jonataswalker/ol3-geocoder

Or geocoding services like Google's Geocoding service or OGC OpenLS, which you can see in a working example with an OpenLayers map here:

http://dev.openlayers.org/examples/openls.html

Danziger
  • 19,628
  • 4
  • 53
  • 83