Marker class

地图标记

Constructors

Marker.android(com_amap_api_maps_model_Marker androidModel)
Marker.ios(MAPointAnnotation iosModel, MAMapView iosController)

Properties

androidModel ↔ com_amap_api_maps_model_Marker
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
iosController ↔ MAMapView
read / write
iosModel ↔ MAPointAnnotation
read / write
location Future<LatLng>
获取定位信息
read-only
object Future<String>
获取自定义信息
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snippet Future<String>
获取副标题
read-only
title Future<String>
获取标题
read-only

Methods

hideInfoWindow() Future<void>
关闭弹窗
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove() Future<void>
删除marker
setCoordinate(LatLng coord) Future<void>
设置坐标
setIcon(ImageProvider<Object> iconProvider, ImageConfiguration configuration) Future<void>
设置图标
setVisible(bool visible) Future<void>
设置可见性
showInfoWindow() Future<void>
显示弹窗
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited