开发者

Show same points of interest in MKMapView as in the Maps application?

开发者 https://www.devze.com 2023-01-13 06:53 出处:网络
If you look at a 开发者_StackOverflowlocation in a MKMapView and in the Maps application, the maps app has a lot more points of interest. Is there a way to get the same items to show up in an MKMapVie

If you look at a 开发者_StackOverflowlocation in a MKMapView and in the Maps application, the maps app has a lot more points of interest. Is there a way to get the same items to show up in an MKMapView?

Here is an example: http://drp.ly/1CJWbm


Try [self.mapView setShowsPointsOfInterest:YES]; (iOS 7 only)


There's at least no built in functionality in MapKit. You'll have to use Google's webservices to fetch those POIs (like Places API). You should have a look at the Google Places API Web Services

0

精彩评论

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