[wip] Add option to enable markers on Globe2

This commit is contained in:
2022-08-11 23:08:25 +02:00
parent 0c82464a98
commit 8ac95dc6a9
3 changed files with 9 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ export class Globe {
this.params = {
autoRotate: options.autoRotate,
speed: options.speed,
enableMarkers: options.enableMarkers,
zoom: 1.305,
}
@@ -279,6 +280,7 @@ type Options = {
autoRotate: boolean
speed: number
rotationStart?: number
enableMarkers?: boolean
markers?: any[]
pane?: boolean
}