mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Add splash screen
This commit is contained in:
parent
06b2dd9e47
commit
a478a3cd77
4 changed files with 100 additions and 5 deletions
|
|
@ -33,6 +33,11 @@ class Visualization {
|
|||
map.openPopup(popup)
|
||||
})
|
||||
|
||||
this.oms.addListener('spiderfy', (marker) => {
|
||||
this.map.setCenter(marker.getLatLng())
|
||||
this.map.setZoom(20)
|
||||
})
|
||||
|
||||
// set up markers
|
||||
this._markers = new Map()
|
||||
this.setupMarkers()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue