MapSettings constructor
const
MapSettings({ - bool showLocalPlaces = true,
- bool showEncryptedPlaces = false,
- bool hideAllMarkers = false,
- Color userPlacesColor = defaultUserColor,
- Color localPlacesColor = defaultLocalColor,
- Color encryptedPlacesColor = defaultEncryptedColor,
- bool rememberViewport = true,
- double initialLat = defaultInitialLat,
- double initialLng = defaultInitialLng,
- double initialZoom = defaultInitialZoom,
- MapSource? mapSource,
})
Implementation
const MapSettings({
this.showLocalPlaces = true,
this.showEncryptedPlaces = false,
this.hideAllMarkers = false,
this.userPlacesColor = defaultUserColor,
this.localPlacesColor = defaultLocalColor,
this.encryptedPlacesColor = defaultEncryptedColor,
this.rememberViewport = true,
this.initialLat = defaultInitialLat,
this.initialLng = defaultInitialLng,
this.initialZoom = defaultInitialZoom,
MapSource? mapSource,
}) : mapSource = mapSource ?? MapSource.openStreetMap;