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:
Sameh Khamis committed 2026-11-07 23:47:04 -08:00
1 parent c5fffae09e
commit abef2800fb
5 files changed
+277 -5

No files matched your search

+1
View File
@@ -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',