MapSettings constructor

const MapSettings({
  1. bool showLocalPlaces = true,
  2. bool showEncryptedPlaces = false,
  3. bool hideAllMarkers = false,
  4. Color userPlacesColor = defaultUserColor,
  5. Color localPlacesColor = defaultLocalColor,
  6. Color encryptedPlacesColor = defaultEncryptedColor,
  7. bool rememberViewport = true,
  8. double initialLat = defaultInitialLat,
  9. double initialLng = defaultInitialLng,
  10. double initialZoom = defaultInitialZoom,
  11. 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;