cesium
cesium copied to clipboard
Add contour lines labels
The feature: Cesium.Material ElevationContour line labels. Options:
- units
- label-spacing
- min-zoom
- max-zoom
- text-size
- text-opacity
- text-size
- text-halo-width
- text-halo-color
- text-color
You can currently add contour lines in CesiumJS as shown here: https://sandcastle.cesium.com/index.html?src=Globe%20Materials.html. The current implementation renders these lines in the shader, so I think it may be difficult to generate labels in the same efficient way.
I think one way to implement this would be to generate the labels around the closest areas to the camera as the user moves. Although I'm not sure what an easy way would be to actually get the positions the contour lines are at on the CPU side to create the labels. You could try looking at how the lines are computed in the shader.
The feature: Cesium.Material ElevationContour line labels. it seems required feature, any update on this @OmarShehata
@manjunathamm24 There hasn't been any activity on this item recently.
If you'd like to add more information about your use case, that may help us prioritize. If you are interesting in contributing, please let us know and we'd be happy to discuss implementation or review a PR.
Thanks!