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
Thanks for sharing your work on this, it's been super useful.
I would like to change the styles of features, but it looks to me that I can't set the userProperties option. From the mapbox-gl-draw API reference:
If opts.userProperties is set to true the properties of a feature will also be available for styling.
I tried changing the styles of features by calling draw.setFeatureProperties() but nothing was happening - until I went into lib/index.js of this package and set userProperties: true on the MapBoxDraw instantiation.
Am I missing something here, or is a change needed?
The text was updated successfully, but these errors were encountered:
Thanks for sharing your work on this, it's been super useful.
I would like to change the styles of features, but it looks to me that I can't set the
userProperties
option. From the mapbox-gl-draw API reference:I tried changing the styles of features by calling
draw.setFeatureProperties()
but nothing was happening - until I went intolib/index.js
of this package and setuserProperties: true
on theMapBoxDraw
instantiation.Am I missing something here, or is a change needed?
The text was updated successfully, but these errors were encountered: