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-GLソースでさえ、MGLPointAnnotationの色を変更することについての言及はありません。出来ますか?
ありがとう!
現在、色を設定できる標準のマーカー イメージを使用するための組み込み API はありません。このようなものが最善の策です:
https://www.mapbox.com/ios-sdk/examples/marker-image/
コアライブラリでこれを行うことに関するチケットを開きました:
https://github.com/mapbox/mapbox-gl-native/issues/2250