Skip to content

Commit c5802fa

Browse files
committed
chore: cleanup
1 parent c143f60 commit c5802fa

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

example/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import GlobeScene from '../src/components/scene'
22
import Marker from '../src/components/marker'
33
import Bar from '../src/components/bar'
4-
import { point } from '@turf/helpers';
4+
import { point } from '@turf/helpers'
55

66
const container = document.querySelector('#globe-container') as HTMLCanvasElement
77

@@ -25,7 +25,7 @@ const bar = new Bar({
2525
})
2626

2727
const marker = new Marker({
28-
location: point([52.3676, 4.9041])
28+
location: point([52.3676, 4.9041]),
2929
})
3030

3131
const bar2 = new Bar({
@@ -34,7 +34,7 @@ const bar2 = new Bar({
3434
})
3535

3636
const marker2 = new Marker({
37-
location: point([59.9139, 10.7522])
37+
location: point([59.9139, 10.7522]),
3838
})
3939

4040
globe.addMarkers([marker, marker2])

src/components/marker.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ export default class Marker {
3838

3939
const [lng, lat] = this.config.location.geometry.coordinates
4040

41-
console.log(lng);
42-
console.log(lat);
43-
4441
if (!lng || !lat) throw Error('Invalid coordinates.')
4542

4643
const position = calculateVec3FromLatLon(lng, lat, 600)

0 commit comments

Comments
 (0)