Google Maps iOS rightCalloutAccessoryView替换? [英] Google Maps iOS rightCalloutAccessoryView replacement?

查看:95
本文介绍了Google Maps iOS rightCalloutAccessoryView替换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道Google Maps SDK中的 rightCalloutAccessoryView (下面的蓝色按钮)代替了什么?或者我需要自定义视图.....





编辑: 有没有更好的选择比 GMSMapViewDelegate 的:


$ b

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



(对用户来说不明显可以点击信息窗口...)



编辑2



em>飞机搜索器 - 实时飞行状态跟踪器似乎在iOS SDK中使用默认标注:):




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?

解决方案

Found it! :)

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

这篇关于Google Maps iOS rightCalloutAccessoryView替换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆