You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
The iconColor expression of a SymbolLayer does not have any affect. Icons remain black or whatever color they are. You can check out this behavior even in your sample app :
Icon color should be interpolated:
The iconSize expression instead works
I tried different vector drawables and the "ic_cross.xml" you are using in the samples.
I tried to give the expression any kind of String or number representation, no success.
Please help.
The text was updated successfully, but these errors were encountered:
Hey @RoProducts, thanks for using Mapbox! You've actually found an issue with the linked example. The icon is added to the map here, but in order for you to be able to color an icon using the iconColor property, it needs to be declared as an SDF. You can do that by providing a compatible bitmap to the map like
Hi,
The iconColor expression of a SymbolLayer does not have any affect. Icons remain black or whatever color they are. You can check out this behavior even in your sample app :
https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/dds/CircleLayerClusteringActivity.java#L182
Icon color should be interpolated:
The iconSize expression instead works
I tried different vector drawables and the "ic_cross.xml" you are using in the samples.
I tried to give the expression any kind of String or number representation, no success.
Please help.
The text was updated successfully, but these errors were encountered: