Replies: 1 comment 2 replies
-
Is there any aspect of GeoJSON that provides for text display? I am not aware of such a thing so we'd need to see what custom properties we could introduce for such a label. Our current GeoJSON support comes from what leaflet supports (https://leafletjs.com/examples/geojson/) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I am trying to display some polygons on the Map Panel, with some text labels (the text contains changing values based on sensor readings). So far, I have been able to add the polygons to the map using foxglove GeoJSON messages, and through "properties.name" I can add a pop-up text label. However the label only popups when the cursor is hovering over a specific polygon; and since I need to display multiple polygons at the same time, it is not possible for me to hover over all the polygons simultaneously. Is there anyway to make the text labels show up on the map permanently, ideally through the GeoJSON messages? Since the text values are changing based on sensor readings, it would be best if I could send something like this:
Beta Was this translation helpful? Give feedback.
All reactions