Code clean
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
// Init the globe from library
|
||||
globe = new Globe({
|
||||
el: scope,
|
||||
texture: '/img/globe/map-2k.png',
|
||||
texture: `/img/globe/map-${window.innerWidth >= 992 ? '4k' : '2k'}.png`,
|
||||
markers: [...$locations.map(location => {
|
||||
return {
|
||||
name: location.name,
|
||||
@@ -42,8 +42,8 @@
|
||||
lng: location.coordinates.lng
|
||||
}
|
||||
})],
|
||||
onLinkClicked: () => {},
|
||||
cameraDistance: 3
|
||||
cameraDistance: 3,
|
||||
onLinkClicked: () => {}
|
||||
})
|
||||
|
||||
// Run the globe
|
||||
|
||||
Reference in New Issue
Block a user