fix(geo-import): KML icons stay on their points when zoomed out, and turn by heading as before

Cesium's KML loader shrank an icon's hot-spot offset with the icon and
turned a heading about the Earth's axis. The drawn pins kept the full
offset at globe distance (up to ~14 px off for the Google Earth pushpin)
and turned about local north, which differs in a tilted view. They now
scale the offset with the icon and turn about the Earth's axis by the
heading.
This commit is contained in:
Sameh Khamis committed 2026-11-14 02:03:26 -08:00
1 parent 7ba15deb5e
commit 91b080a45a
4 files changed
+16 -3

No files matched your search

+1
View File
@@ -58,6 +58,7 @@ test('a placemark takes its last inline style over its shared one, property by p
far: 1.6093e7,
farValue: 0.1,
});
assert.equal(f.offsetScalesByDistance, true, 'its offset shrinks too');
}
});