MapViewportOptions class final

How the map orients and constrains its view.

See mln_map_viewport_options in the C API reference.

Constructors

MapViewportOptions({NorthOrientation? northOrientation, ConstrainMode? constrainMode, ViewportMode? viewportMode, EdgeInsets? frustumOffset})
const

Properties

constrainMode → ConstrainMode?
final
frustumOffset → EdgeInsets?
final
hashCode → int
The hash code for this object.
no setterinherited
northOrientation → NorthOrientation?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewportMode → ViewportMode?
final

Methods

copyWith({NorthOrientation? northOrientation, ConstrainMode? constrainMode, ViewportMode? viewportMode, EdgeInsets? frustumOffset}) → MapViewportOptions
A copy of this value with the given members replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited