MapOptions constructor

MapOptions({
  1. CameraPosition position = const sdk.CameraPosition(point: sdk.GeoPoint(latitude: sdk.Latitude(), longitude: sdk.Longitude()), zoom: sdk.Zoom()),
  2. CameraPositionPoint positionPoint = const sdk.CameraPositionPoint(),
  3. CameraZoomRestrictions zoomRestrictions = const sdk.CameraZoomRestrictions(),
  4. DevicePpi? devicePPI,
  5. DeviceDensity? deviceDensity,
  6. List<Source>? sources,
  7. Style? style,
  8. CancelableOperation<Style>? styleFuture,
  9. MapAppearance appearance = const AutomaticAppearance(MapTheme.defaultDayTheme(), MapTheme.defaultNightTheme()),
  10. Fps? maxFps,
  11. Fps? powerSavingMaxFps,
  12. Color? backgroundColor,
})

Implementation

MapOptions({
  this.position = const sdk.CameraPosition(
    point: sdk.GeoPoint(
      latitude: sdk.Latitude(),
      longitude: sdk.Longitude(),
    ),
    zoom: sdk.Zoom(),
  ),
  this.positionPoint = const sdk.CameraPositionPoint(),
  this.zoomRestrictions = const sdk.CameraZoomRestrictions(),
  this.devicePPI,
  this.deviceDensity,
  this.sources,
  this.style,
  this.styleFuture,
  this.appearance = const AutomaticAppearance(
    MapTheme.defaultDayTheme(),
    MapTheme.defaultNightTheme(),
  ),
  this.maxFps,
  this.powerSavingMaxFps,
  this.backgroundColor,
});