New Features
Reorganize terrain settings / Support Cesium Ion Terrain
The Terrain setup UI has been reorganized to make terrain-related settings have been consolidated into a single location for easier configuration. Also, it is also now possible to load terrains uploaded to Cesium Ion.
Developed by: rot 1024
Special thanks: Chauhan PiyushExtend plugin API supports move widget
Now plugin developers can change the plugin location by API like:
reearth.widget.moveTo: ({
zone: "oute" | "inner",
section: "left" | "center" | "right",
area: "top" | "middle" | "bottom",
method?: "insert" | "append", // "append" as default
}) => void;caution
Widget will get reload after set position. It will be improved in the future.
Developed by: Shaun
Special thanks: Kyle Waite, rot 1024Extend plugin API supports close widget
Enable the plugin to close the main UI widget by using an API like
reearth.ui.close: () => void
;Developed by: Shaun Special thanks: rot 1024
Extend plugin API event with modalclose popupclose
Add events with
modalclose
andpopupclose
.Developed by: Shaun
Designed by: rot 1024Extend plugin API supports getting viewport's size
The plugin can get the size of Re:Earth viewport through this API, and also plugin can also add an event listener on the viewport’s resize event (resize).
Developed by: Shaun
Designed by: rot 1024Latitude and longitude can now be obtained from screen coordinates via the plugin API
reearth.scene.getLocationFromScreen(x: number, y: number, withTerrain?: boolean): LatLngHeight | undefined
Developed by: Shaun
Designed by: rot 1024Plugin API can now retrieve whether the current screen is an editor or a public screen
reearth.scene.inEditor: boolean
Developed by: Shaun
Designed by: rot 1024
Bug Fixes
Alignment issues in Widget Align System
FIxed by: Kyle Waite
Cannot input camera altitude less than 500 with camera pane
Developed by: Shaun