2

I don't see any reference to changing the color of a MGLPointAnnotation on the docs or even on the MAPBOX-GL source. Is it possible?

Thanks!

4

1 回答 1

1

目前,没有内置 API 可以使用具有可配置颜色的标准标记图像。这样的事情将是你最好的选择:

https://www.mapbox.com/ios-sdk/examples/marker-image/

我刚刚在核心库中打开了一张票:

https://github.com/mapbox/mapbox-gl-native/issues/2250

于 2015-09-03T19:20:34.147 回答