mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Keep the file import's Cesium loading in its pins module and take the file reader off the Cesium list
src/data/geoFileImport.js now only reads, bounds and sanitizes the imported files (GeoJSON, GPX, KML and KMZ). Loading the parsed file as a Cesium data source, scrubbing its entities, settling its ground pins, the pin billboard collection and the footprint read for Fly-to move into src/data/geoImportPins.js, which stays on the Cesium list as the import's Cesium-bound part. The error, the entity limit, the one-minute deadline and feature-name cleanup both parts use live in the new src/data/geoImportShared.js; the reader re-exports them for its existing importers. Nothing changes for the person importing: the same files load with the same refusals, styles, ground heights, pins and framing.
This commit is contained in:
1 parent
2a9a2d5be8
commit
c49191a87b
9 files changed
+469
-412
No files matched your search
@@ -3758,6 +3758,7 @@
|
||||
"src/annotations/drawMode.js",
|
||||
"src/annotations/drawTool.js",
|
||||
"src/data/geoFileImport.js",
|
||||
"src/data/geoImportShared.js",
|
||||
"src/ui/flyToDataSource.js",
|
||||
"src/ui/geoFileImport.js",
|
||||
"src/data/routeSteps.js",
|
||||
@@ -4749,6 +4750,7 @@
|
||||
"src/layers/streetLevel/providers/mapillary/policy.js",
|
||||
"src/data/geoImportImages.js",
|
||||
"src/data/geoImportPins.js",
|
||||
"src/data/geoImportShared.js",
|
||||
"src/data/geoFileImport.js",
|
||||
"src/ui/stores/imagerySplit.js",
|
||||
"src/ui/vueRuntime.js",
|
||||
@@ -5867,6 +5869,7 @@
|
||||
"src/layers/ghostMaps/source.js",
|
||||
"src/sources/httpBody.js",
|
||||
"src/data/geoFileImport.js",
|
||||
"src/data/geoImportShared.js",
|
||||
"src/i18n/marker.js",
|
||||
"src/i18n/index.js",
|
||||
"src/i18n/locale.js",
|
||||
|
||||
Reference in new issue
Block a user