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 was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
I don't think any mapbox-gl-styles styles have classes. You can create a small test style that transitions say background-color to test this though.
We're not sure what the long term future of style classes is yet. We'll need to have a full Style API in native before we can make the call one way or the other.
I have played around with this API and I believe it's broken.
If I run the testapp with MAPBOX_STREETS style and call getStyleClasses(), I'm returned a empty list.
I checked if setStylesClasses with duration is still throwing an exception and it still does.
Activity
incanus commentedon Jan 30, 2015
This API may be rusty; I will add it to the iOS app and poke at this a bit soon.
bleege commentedon Aug 19, 2015
@ljbade Is this still an issue or can we close this?
ljbade commentedon Aug 20, 2015
I need to test this. We haven't used the classes stuff for a while on Android.
bleege commentedon Aug 26, 2015
@ljbade K. I'll move this to
android-v0.2.0for future 👀 .3 remaining items
ljbade commentedon Oct 30, 2015
Related to #1744 and #2077
ljbade commentedon Oct 30, 2015
@jfirebaugh Do any of the
mapbox-gl-stylesstill have classes I can use to test these functions?If not, are classes going to be removed from the style spec? If that is the case I might as well just remove these functions.
jfirebaugh commentedon Oct 30, 2015
I don't think any
mapbox-gl-stylesstyles have classes. You can create a small test style that transitions saybackground-colorto test this though.We're not sure what the long term future of style classes is yet. We'll need to have a full Style API in native before we can make the call one way or the other.
tobrun commentedon Jan 11, 2016
I have played around with this API and I believe it's broken.
If I run the testapp with
MAPBOX_STREETSstyle and callgetStyleClasses(), I'm returned a empty list.I checked if
setStylesClasseswith duration is still throwing an exception and it still does.@bleege
tobrun commentedon Jan 11, 2016
@bleege I have found this issue, making this API obsolete. Closing down.
bleege commentedon Jan 11, 2016
👍