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
It would be nice if GeoJSON rendering in the map view could support simple styling (at least coloring.)
This is easy to implement, but I don't think there is any standardized way of including style in the GeoJSON itself. One way to do this is to pull out feature.properties.color (see example diff here), as this follows the example in the leaflet docs.
Coloring topics (https://github.com/foxglove/studio/issues/3753) would be a partial workaround for this, but it would still be nicer to style from the GeoJSON as that supports more complex cases.
This discussion was converted from issue #258 on December 16, 2022 05:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It would be nice if GeoJSON rendering in the map view could support simple styling (at least coloring.)
This is easy to implement, but I don't think there is any standardized way of including style in the GeoJSON itself. One way to do this is to pull out
feature.properties.color
(see example diff here), as this follows the example in the leaflet docs.Coloring topics (https://github.com/foxglove/studio/issues/3753) would be a partial workaround for this, but it would still be nicer to style from the GeoJSON as that supports more complex cases.
Beta Was this translation helpful? Give feedback.
All reactions