MapKitSnapshotterOptions class

Defines options for the map capturing. This requires region to be present. All other properties are optional and have sane defaults.

Annotations
  • @immutable
  • @JsonSerializable(includeIfNull: false, explicitToJson: true)

Constructors

MapKitSnapshotterOptions({required MapKitSnapshotterRegion region, MapKitSnapshotterMapType? mapType, MapKitSnapshotterBrightness? brightness, bool? showsBuildings, bool? showsPointsOfInterest})
MapKitSnapshotterOptions.fromJson(Map<String, dynamic> json)
factory

Properties

brightness MapKitSnapshotterBrightness?
Defines the brightness of the map for the capture. By default the current system default is used.
final
hashCode int
The hash code for this object.
no setteroverride
mapType MapKitSnapshotterMapType?
Defines the map type for the capture. By default MapKitSnapshotterMapType.standard will be used.
final
region MapKitSnapshotterRegion
Defines the visible region on the capture.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showsBuildings bool?
If buildings shall be show on the capture.
final
showsPointsOfInterest bool?
If POIs shall be shown on the capture.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override