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
The data property that can be passed to the annotations is not added to the properties in geojson.
I know it can be done by setting the annotationColor properties from the specific annotation options but that would create such a messy function with a lot of nested if elses or switch cases that I rather just add in custom properties with a customised layer so that the map styles handle it
Other then that I think it will also benefit that the general onFeatureTapped also gets all the data properties that are in that feature.
Steps to Reproduce
Create custom annotation layer style with data driven element
Create annotation with data property set to anything
add annotation to map
Expected Results
Data properties to be added to the geojson properties so that they can be used in layer styles.
Platforms
all
Version of flutter maplibre_gl
latest
Bug Description
The data property that can be passed to the annotations is not added to the properties in geojson.
I know it can be done by setting the annotationColor properties from the specific annotation options but that would create such a messy function with a lot of nested if elses or switch cases that I rather just add in custom properties with a customised layer so that the map styles handle it
Other then that I think it will also benefit that the general onFeatureTapped also gets all the data properties that are in that feature.
Steps to Reproduce
Expected Results
Data properties to be added to the geojson properties so that they can be used in layer styles.
Actual Results
data is not used or passed to the togeojson
Code Sample
The text was updated successfully, but these errors were encountered: