3

我需要识别用户在 Mapbox 2.0 地图上选择了哪个 MGLPolygon。

- (void)mapView:(MGLMapView *)mapView didSelectAnnotation:(id <MGLAnnotation>)annotation 

不起作用。

如何自定义 MGLPolygon 以使其可点击?

4

1 回答 1

1

尚不支持此功能:https ://github.com/mapbox/mapbox-gl-native/issues/2082

于 2015-09-30T15:18:41.760 回答