Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要识别用户在 Mapbox 2.0 地图上选择了哪个 MGLPolygon。
- (void)mapView:(MGLMapView *)mapView didSelectAnnotation:(id <MGLAnnotation>)annotation
不起作用。
如何自定义 MGLPolygon 以使其可点击?
尚不支持此功能:https ://github.com/mapbox/mapbox-gl-native/issues/2082