开发者

iPhone: Turning latitude/longitude into "major cross-streets"

开发者 https://www.devze.com 2022-12-28 02:49 出处:网络
Using the MKReverseGeocoder or GoogleAPI or MapKit... Is there a simple way to turn a latitude/longitude into \"nearest major cross-streets\"?

Using the MKReverseGeocoder or GoogleAPI or MapKit...

Is there a simple way to turn a latitude/longitude into "nearest major cross-streets"?

A user might not have any idea where 开发者_如何转开发"12345 Pineapple" is located... so I want to show something like "Pineapple and Main"... or (larger, major roads) like "US-140 and Hwy 76".

I don't really care what "major" is defined as... perhaps any road with higher speed limits... or more than 3 lanes... etc.

I don't really care what "close by" is defines as... perhaps within 0-10 miles... or just "closest found".


There is not a built in method to do this with MapKit or the Google API.

See this SO question for some reading about this in relation to the GoogleMaps API:

Is there a way to find the nearest cross streets for an address?

0

精彩评论

暂无评论...
验证码 换一张
取 消