HeyhipAmapController class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(int viewId)
→ void
-
-
dispose()
→ void
-
-
getCameraPosition()
→ Future<CameraPosition?>
-
获取当前相机位置
-
initialCamera({required double latitude, required double longitude, double zoom = 14})
→ void
-
-
markMapReady()
→ void
-
-
moveCamera(CameraPosition position)
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onCameraIdle(CameraIdleCallback callback)
→ void
-
-
onCameraMove(CameraMoveCallback callback)
→ void
-
-
onCameraMoveStart(CameraMoveStartCallback callback)
→ void
-
-
onMapClick(MapClickCallback callback)
→ void
-
注册地图点击事件
-
onMapLoaded(VoidCallback callback)
→ void
-
-
onMarkerClick(MarkerClickCallback callback)
→ void
-
-
-
searchPoisByLatLng(LatLng latlng, {int radius = 1000, String keyword = '', int page = 1, int pageSize = 20})
→ Future<List<HeyhipPoi>>
-
根据经纬度获取周边Poi
-
searchPoisByText(String keyword, {String? city, bool cityLimit = false, LatLng? location, int page = 1, int pageSize = 20})
→ Future<List<HeyhipPoi>>
-
-
setMapType(MapType mapType)
→ Future<void>
-
动态设置地图类型
-
setMarkers(List<HeyhipMarker> markers)
→ Future<void>
-
-
setZoom(double zoom)
→ Future<void>
-
仅修改缩放级别
-
toString()
→ String
-
A string representation of this object.
inherited