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
first, if there is styling built into the GeoJSON, it could be pretty fiddly working out how to represent it in a legend. Eg, do we collect every single different style and draw a box for each?
secondly, if we solve the first bit, how would we label each box? We don't know what the colours mean, if they have some deeper semantic significance (eg, all anchor symbols represent ports).
But in the basic case (unstyled points), it would be good to show at least label the dataset: green circles = myfile.geojson.
The text was updated successfully, but these errors were encountered:
It's a shame that simplestyles doesn't make any allowance for legends. Given that, a generated legend for a fully-styled GeoJSON is not realistic, but Steve's final suggestion of showing a simple legend in the default case (no styling) is pretty easy.
This is now supported for new ProtomapsImageryProvider geojson items (#5900). To use this you will need to set Terria.configParameters.enableGeojsonVt = true
There is still no automatic legend for GeoJson items which use simple-style (inside Feature properties)
I'm going to close this issue, we can re-open later if needed
Raised at #910 and #791.
There are a couple of difficulties here:
But in the basic case (unstyled points), it would be good to show at least label the dataset: green circles = myfile.geojson.
The text was updated successfully, but these errors were encountered: