Use latitude only for Globe rotation starting angle
This commit is contained in:
@@ -17,8 +17,8 @@ export class Globe {
|
|||||||
this.height = this.el.offsetHeight
|
this.height = this.el.offsetHeight
|
||||||
this.markers = options.markers || []
|
this.markers = options.markers || []
|
||||||
this.globeRotation = {
|
this.globeRotation = {
|
||||||
lat: degToRad(-this.options.rotationStart.lat) || 0,
|
lat: degToRad(-this.options.rotationStart) || 0,
|
||||||
lng: degToRad(-this.options.rotationStart.lng) || 0,
|
// lng: degToRad(-this.options.rotationStart.lng) || 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculate the current sun position from a given location
|
// Calculate the current sun position from a given location
|
||||||
|
|||||||
Reference in New Issue
Block a user