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
I have a geojson file with several features in. I want to use different symbols for representing each of the features, conditional on values of the feature (such as latitude, longitude and other properties).
I would expect to be able to use a standard if, else function to assign a symbol to each feature (as shown in the reproduction URL).
However, doing this leads the symbols to overlap on each other. Specifically:
the first feature in the collection is shown with the correct symbol correctly
the second feature is shown with the correct symbol and the symbol of the first feature.
so on...
Please provide a reproduction URL (on any jsfiddle like site)
maptalks's version and what browser you use?
Maptalks version: 1.0.0-rc.14
Browser: Firefox, 106.0.5
Issue description
I have a geojson file with several features in. I want to use different symbols for representing each of the features, conditional on values of the feature (such as latitude, longitude and other properties).
I would expect to be able to use a standard if, else function to assign a symbol to each feature (as shown in the reproduction URL).
However, doing this leads the symbols to overlap on each other. Specifically:
Please provide a reproduction URL (on any jsfiddle like site)
https://codepen.io/jokroese/pen/NWzwPeV
Note how the symbol for Berlin (the second feature of the collection) has both the (correct) Berlin symbol and the (incorrect) London symbol.
The text was updated successfully, but these errors were encountered: