Closed farfromrefug closed 2 years ago
If you are using setStyleParameter
method of MBVectorTileDecoder
then the string value is automatically converted to the correct type. The correct type is based on the default value in your style.json file.
@mtehver was not sure of that. Will try thanks!
@mtehver i can confirm it works
If you have a property like
osmid
inside features and that you want to do something like:Then it cant work because
nuti::selected_id
must be a string. Then the comparaison between the 2 wont work.Maybe the easiest solution would be to add a
toString
method in expressions?