mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Draw imported files through the draw port, off Cesium
Import no longer loads KML, KMZ, GeoJSON and GPX through Cesium's data source loaders. geoImportFeatures.js reads the sanitized file into plain pins, lines, walls, polygons and ground overlays with the looks those loaders gave them: icon, scale, colour, heading and hot spot, the shared and inline style precedence, line and polygon colours and widths, extruded and clamped geometry, rotated boxes and quads, and GeoJSON's 48 px pins, draped lines along rhumb lines and quarter-opacity fills. geoImportPins.js draws them in three draw sets per file, places ground pins through the height service (0 on the bare ellipsoid, whose coarse tiles sag below it; the mesh nearby on photoreal maps), follows a double-clicked pin, frames Fly-to, and shows, hides and removes them. The Cesium adapter now draws two members the contract already had: an icon's pixel offset and the wall shape. Image fills draw in the translucent pass, so an overlay's own alpha blends as it did. The Cesium allow-list is now empty; the ratchet test checks that its scan still sees each way of reaching Cesium. The QA scripts read what a file drew through the import's drawn(id), and the large-file check compares it with Cesium's own reading of the same KML. A file the renderer refuses to draw is refused by itself, without stopping its batch. Two translations no longer used are dropped.
This commit is contained in:
1 parent
c073064507
commit
6c1f91014c
33 files changed
+2608
-1177
No files matched your search
@@ -216,7 +216,6 @@
|
||||
"That GPX file has no <gpx> document.": "該 GPX 文件沒有 <gpx> 文檔。",
|
||||
"That {format} file is not valid XML.": "該 {format} 文件不是有效的 XML。",
|
||||
"That file has an unreadable image or exceeds the 16-megapixel image limit.": "該文件包含無法讀取的圖像,或圖像超過 1600 萬像素上限。",
|
||||
"That KML could not be read.": "無法讀取該 KML。",
|
||||
"That file has invalid point coordinates.": "該文件的點座標無效。",
|
||||
"Ground heights are not available for that file. Try again when the map has loaded.": "無法獲取該文件的地面高度。請在地圖加載完成後重試。",
|
||||
"That file took too long to read.": "讀取該文件耗時過長。",
|
||||
@@ -228,7 +227,6 @@
|
||||
"That {format} file could not be read.": "無法讀取該 {format} 文件。",
|
||||
"That file has {count} map objects; the limit is {limit}.": "該文件有 {count} 個地圖對象,上限為 {limit} 個。",
|
||||
"Ground heights could not be read. Try that file again.": "無法讀取地面高度。請重新導入該文件。",
|
||||
"That file has invalid point graphics.": "該文件的點樣式無效。",
|
||||
"Overpass rate-limited": "Overpass 已被限流",
|
||||
"Overpass timed out": "Overpass 超時",
|
||||
"Overpass could not complete the query": "Overpass 無法完成查詢",
|
||||
|
||||
Reference in new issue
Block a user