1d1c8e28d1
- keep selected map overlays during session - add first Simulator/Config option (enable/disable ai traffic)
22 lines
448 B
HTML
22 lines
448 B
HTML
<div data-bind="component: {
|
|
name: 'map',
|
|
params: {
|
|
map: {
|
|
attributionControl: true,
|
|
zoom: 11
|
|
},
|
|
on: {
|
|
'resize' : mapResize,
|
|
'zoomend': mapZoomend,
|
|
'moveend': mapMoveend,
|
|
'unload' : mapUnload,
|
|
},
|
|
css: {
|
|
width: '100%',
|
|
height: '100%'
|
|
},
|
|
overlays: overlays,
|
|
selectedOverlays: selectedOverlays,
|
|
hasFollowAircraft: true,
|
|
scale: { metric: false }
|
|
}}"></div>
|