-
Notifications
You must be signed in to change notification settings - Fork 19
Description
PR #885 introduced a regression:
- flight tracks are unexpectedly clampedToGround
state before PR#885 == expected result
https://sys-map.dev.bgdi.ch/preview/bug_pb-562_wrong_external_kml_style/index.html#/map?sr=3857¢er=802000,5970370&camera=7.204872,47.173075,1477,-5,51,&z=17&3d&bgLayer=ch.swisstopo.swisstlm3d-karte-farbe_3d&layers=KML%7C208_Weissenstein_20_07_2024.kml

state after PR#885 == actual result
https://sys-map.dev.bgdi.ch/preview/bug_pb-591_3d_kml_improvments/index.html#/map?sr=3857¢er=802000,5970370&camera=7.204872,47.173075,1477,-5,51,&z=17&3d&bgLayer=ch.swisstopo.swisstlm3d-karte-farbe_3d&layers=KML%7C208_Weissenstein_20_07_2024.kml

unfortunately theese two overrides ignore existing KML settings like <altitudeMode>absolute</altitudeMode> and opacity
web-mapviewer/src/modules/map/components/cesium/CesiumKMLLayer.vue
Lines 54 to 55 in 1428f4f
| alphaToApply = 0.5 | |
| clampToGround = true |
while clampToGround may make a lot of sense in some cases - for polylines it's not generally applicable ;-)
nb: does cesium parse altitudeMode well enough, doesn't it?