문제

My iOS application use Apple Maps and need to find the nearest coordinates on the road or in the park. I cant find in API methods for that. Perhaps for this purpose is better to use Google Maps. How can i do it? I find some similar, but there is no straight answer.

도움이 되었습니까?

해결책

OpenStreetMap query:

<query type="way">
  <around {{center}} radius="100.0"/>
  <has-kv k="highway"  />
</query>
<print />

example (see the data): http://overpass-turbo.eu/s/3iK

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top