WorldWind Kotlin v2.0.1 #157
EMaksymenko
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
WorldWind Kotlin 2.0.1
23 commits since 2.0.0.
Maintenance and platform release. Headline items: a new Kotlin/Wasm (wasmJs) browser target across every module, a reworked stale-while-revalidate caching layer with capacity eviction on all platforms, a flat, interoperable GeoPackage feature cache, and low-memory streaming COLLADA/KMZ loading for large photogrammetry.
implementation 'earth.worldwind:worldwind:2.0.1'🌐 Kotlin/Wasm (wasmJs) browser target
wasmJstarget across all modules (library, Compose, tutorials, samples). Browser code is shared betweenjsandwasmJsin awebMainsource set (~53 files) behindexpect/actualseams:WebKgl/createWebKglfor the WebGL backend andMilStd2525Rendererfor the mil-sym-ts / canvg bindings; only the generated externs, the per-target renderer adapter, andWeakRefstay per-target.kotlinx-browserreplaces the kotlin-wrappers BOM; GeoJSON swapped to the wasm-capable spatialk library;pngjmoved tojvmCommon.applyDefaultHierarchyTemplate(nonIos→web {js, wasmJs}+jvmCommon {jvm, android}).💾 Cache: stale-while-revalidate + capacity eviction
maxBytes) for the JS/iOS tile stores and the GeoPackage tile store.CacheEvictionPolicyrenamed toCachePolicy(type + attributes). (API change)🗺️ GeoPackage / features
gpkg_web_servicerenamed toww_web_servicewith automatic migration. (schema change)🧊 COLLADA / KMZ (large photogrammetry)
.daeparse (custom pull tokenizer — never materializes the document or numeric bodies as strings), a configurable texture-size cap (default 2048; an 8192² atlas → 16 MB instead of 256 MB decoded), and zip-direct KMZ loading (no extraction to disk; textures decoded lazily and LRU-evicted).doc.kml<Model>placement — position, scale, orientation, and<altitudeMode>(including thegx:sea-floor extensions).CLAMP_TO_GROUND/RELATIVE_TO_GROUND) place the model on the resolved terrain and follow it as elevation streams in (rebuild keyed on vertical exaggeration / elevation timestamp / globe state).Y_UPmodels follow the KML model-facing convention (heading 0 → North-aligned) so geo-referenced KMZ tiles (e.g. OpenDroneMap) align out of the box; the COLLADA up-axis alone gives no geographic facing. Cosmetic for bare, manually-placed.dae(override withzRotation).🛠️ Fixes & internals
getFeatureListcode and the dormant JSWebTileCache; extract inlined FQN type references to imports.Commits
Full changelog: v2.0.0...v2.0.1
This discussion was created from the release WorldWind Kotlin v2.0.1.
All reactions