MarkerOptions class
Параметры маркера.
Constructors
- MarkerOptions({required GeoPointWithElevation position, required Image? icon, MapDirection? iconMapDirection = null, Anchor anchor = const Anchor(x: 0.5, y: 0.5), String? text = null, TextStyle? textStyle = null, Opacity iconOpacity = const Opacity(1), bool visible = true, bool draggable = false, LogicalPixel iconWidth = const LogicalPixel(0), Object? userData = const {}, ZIndex zIndex = const ZIndex(0), bool animatedAppearance = true, LevelId? levelId = null, AnimationMode iconAnimationMode = AnimationMode.normal})
-
const
Properties
- anchor → Anchor
-
final
- animatedAppearance → bool
-
Анимировать ли появление.
final
- draggable → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → Image?
-
final
- iconAnimationMode → AnimationMode
-
Режим анимации.
final
- iconMapDirection → MapDirection?
-
final
- iconOpacity → Opacity
-
final
- iconWidth → LogicalPixel
-
Целевая ширина, используемая для масштабирования.
final
- levelId → LevelId?
-
Привязка к поэтажному плану здания.
final
- position → GeoPointWithElevation
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
final
- textStyle → TextStyle?
-
final
- userData → Object?
-
final
- visible → bool
-
final
- zIndex → ZIndex
-
Уровень отрисовки объекта.
final
Methods
-
copyWith(
{GeoPointWithElevation? position, Optional< Image?> ? icon, Optional<MapDirection?> ? iconMapDirection, Anchor? anchor, Optional<String?> ? text, Optional<TextStyle?> ? textStyle, Opacity? iconOpacity, bool? visible, bool? draggable, LogicalPixel? iconWidth, Optional<Object?> ? userData, ZIndex? zIndex, bool? animatedAppearance, Optional<LevelId?> ? levelId, AnimationMode? iconAnimationMode}) → MarkerOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override