mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 17:22:19 +00:00
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:
1 parent
7ba15deb5e
commit
91b080a45a
4 files changed
+16
-3
No files matched your search
@@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user