cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Add contour lines labels

Open bwyss opened this issue 4 years ago • 3 comments

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

bwyss avatar May 26 '20 22:05 bwyss

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.

OmarShehata avatar May 28 '20 15:05 OmarShehata

The feature: Cesium.Material ElevationContour line labels. it seems required feature, any update on this @OmarShehata

manjunathamm24 avatar May 10 '24 09:05 manjunathamm24

@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!

ggetz avatar May 10 '24 13:05 ggetz