import { euiThemeVars } from '@kbn/ui-shared-deps-src/theme' ; import { INITIAL_LOCATION , MAX_ZOOM , MIN_ZOOM } from '../../../common/constants' ; import { MapSettings } from './types' ; export function getDefaultMapSettings ( ) { return { autoFitToDataBounds : false , backgroundColor : euiThemeVars . euiColorEmptyShade , disableInteractive : false , disableTooltipControl : false , hideToolbarOverlay : false , hideLayerControl : false , hideViewControl : false , initialLocation : INITIAL_LOCATION . LAST_SAVED_LOCATION , fixedLocation : { lat : 0 , lon : 0 , zoom : 2 } , browserLocation : { zoom : 2 } , maxZoom : MAX_ZOOM , minZoom : MIN_ZOOM , showScaleControl : false , showSpatialFilters : true , showTimesliderToggleButton : true , spatialFiltersAlpa : 0.3 , spatialFiltersFillColor : '#DA8B45' , spatialFiltersLineColor : '#DA8B45' , } ; }