mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Follow a local GeoJSON feature on double-click through the camera port
A double-click on a point or polygon of a local GeoJSON layer follows it again, as the default renderer followed the loader's entities: looking at the centre of what the feature draws, north up, pitched down 45 degrees, at the range that fits it in view. A line is zoomed to at once instead. The layer acts only while the renderer's own double-click follow is on, stops a follow it started when disabled, and stops listening when destroyed.
This commit is contained in:
1 parent
c5fffae09e
commit
abef2800fb
5 files changed
+277
-5
No files matched your search
@@ -207,6 +207,7 @@ test('consumer build includes only infrastructure code and resolves assets under
|
||||
'drawHit.js',
|
||||
'ellipsoid.js',
|
||||
'follow.js',
|
||||
'frames.js',
|
||||
'geojsonPins.js',
|
||||
'heights.js',
|
||||
'infrastructure.js',
|
||||
|
||||
Reference in new issue
Block a user