diff --git a/src/modules/globe2/index.ts b/src/modules/globe2/index.ts index 78afb44..123022f 100644 --- a/src/modules/globe2/index.ts +++ b/src/modules/globe2/index.ts @@ -17,8 +17,8 @@ export class Globe { this.height = this.el.offsetHeight this.markers = options.markers || [] this.globeRotation = { - lat: degToRad(-this.options.rotationStart.lat) || 0, - lng: degToRad(-this.options.rotationStart.lng) || 0, + lat: degToRad(-this.options.rotationStart) || 0, + // lng: degToRad(-this.options.rotationStart.lng) || 0, } // Calculate the current sun position from a given location