MapOptions constructor
MapOptions({
- CameraPosition position = const sdk.CameraPosition(point: sdk.GeoPoint(latitude: sdk.Latitude(), longitude: sdk.Longitude()), zoom: sdk.Zoom()),
- CameraPositionPoint positionPoint = const sdk.CameraPositionPoint(),
- CameraZoomRestrictions zoomRestrictions = const sdk.CameraZoomRestrictions(),
- DevicePpi? devicePPI,
- DeviceDensity? deviceDensity,
- List<
Source> ? sources, - Style? style,
- CancelableOperation<
Style> ? styleFuture, - MapAppearance appearance = const AutomaticAppearance(MapTheme.defaultDayTheme(), MapTheme.defaultNightTheme()),
- Fps? maxFps,
- Fps? powerSavingMaxFps,
- 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,
});