Hello guys! I need to get list of cities in region.
Now I'm using OpenLayers and draw circle with RegularPolygon. I think I need your advice how should I make it if it is possible. Thanks in advance! asked 24 Jan '19, 15:15 Aaalexxx |
Sorry for being very brief, but you can use OverPass to query anything you want around a certain point with the around function So in OpenLayers you have to convert the click to lat/lon, then construct an http-request to the Overpass API with around in the query, do the http-request, parse the result and show it somehow. I'm sure you can find examples of combining Overpass and OpenLayers. answered 25 Jan '19, 06:47 escada |