Reference · The globe as an SVG string
HOME_VIEWconstant
The view when it opens: the home centre, upright, at 1x with no pan.
Import it
import { HOME_VIEW } from "@johnmorrisdotca/chikyu-earth";
Definition
const HOME_VIEW: GlobeView = Object.freeze({ yaw: 0, tilt: 0, zoom: 1, panX: 0, panY: 0 })
Examples
import { HOME_VIEW } from "@johnmorrisdotca/chikyu-earth";
console.log(HOME_VIEW);{ yaw: 0, tilt: 0, zoom: 1, panX: 0, panY: 0 }What it prints (run when this page was built)