Add splash screen

This commit is contained in:
Arne Schlüter 2015-02-08 23:53:01 +01:00
commit a478a3cd77
4 changed files with 100 additions and 5 deletions

View file

@ -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()