Google Maps iOS rightCalloutAccessoryView replacement?

有些话、适合烂在心里 提交于 2019-12-03 21:47:36

问题


Just wondering what's the rightCalloutAccessoryView (the blue button below) replacement in the Google Maps SDK? Or do I need to make a custom view.....

EDIT:

Is there a better option than GMSMapViewDelegate's:

- (void)mapView:(GMSMapView *)mapView didTapInfoWindowOfMarker:(id<GMSMarker>)marker;?

(it isn't obvious to the user that you can tap the info window...)

EDIT 2

This Plane Finder - Live Flight Status Tracker seems to use default callouts with the iOS SDK: http://bit.ly/PFinder. How do you do that?


回答1:


Found it! :)

See https://github.com/ryanmaxwell/GoogleMapsCalloutView for an example project :)



来源:https://stackoverflow.com/questions/15016272/google-maps-ios-rightcalloutaccessoryview-replacement

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!