huawei_map library

Classes

ArgumentCallbacks<T>
BitmapDescriptor
Defines a bitmap image.
CameraIdleEvent
CameraMoveCanceledEvent
CameraMoveEvent
CameraMoveStartedEvent
CameraPosition
Encapsulates all camera attributes.
CameraTargetBounds
Encapsulates bound attribute.
CameraUpdate
Provides various constructors for creating CameraUpdate objects that modify the camera of a map.
Cap
Defines a cap that is applied at the start or end vertex of a Polyline.
Circle
Defines a circle on a map.
CircleClickEvent
CircleId
Represents an immutable circle ID.
CircleUpdates
GroundOverlay
Defines an image on the map.
GroundOverlayClickEvent
GroundOverlayId
Represents an immutable ground overlay ID.
GroundOverlayUpdates
HeatMap
Defines a heatmap placed at a specified position on a map according to GeoJSON format.
HeatMapId
Represents an immutable heatmap ID.
HeatMapUpdates
HmsAlphaAnimation
Controls the transparency.
HmsAnimation
HmsRotateAnimation
Controls the animation rotation.
HmsScaleAnimation
Controls the animation scale.
HmsTranslateAnimation
Controls the animation movement.
HuaweiMap
HuaweiMapController
HuaweiMapInitializer
To use certain functions before obtaining a map, use this class to initialize the Map SDK.
HuaweiMapOptions
HuaweiMapUtils
Entry class for Map Kit utilities.
InfoWindow
Defines an information window that shows up when a Marker is tapped.
InfoWindowClickEvent
InfoWindowCloseEvent
InfoWindowLongClickEvent
JointType
Defines the joint type for a Polyline.
LatLng
Defines the longitude and latitude, in degrees.
LatLngBounds
Defines a rectangular area using a pair of longitude and latitude.
Location
An object that contains attributes about a location.
LocationButtonClickEvent
LocationClickEvent
MapClickEvent
MapEvent<T>
MapEventCoord<T>
MapEventLocation<T>
MapEventLocationButton<T>
MapEventPoi<T>
MapLongPressEvent
Marker
Defines an icon placed at a specified position on a map.
MarkerClickEvent
MarkerDragEndEvent
MarkerDragEvent
MarkerDragStartEvent
MarkerId
Represents an immutable marker ID.
MarkerUpdates
MinMaxZoomPreference
Encapsulates attributes for setting the minimum and maximum zoom levels.
MyLocationStyle
Sets the my-location icon style.
PatternItem
Describes the stroke pattern of a polyline.
PoiClickEvent
PointOfInterest
An object that contains attributes about a tapped POI.
Polygon
Defines a polygon on a map.
PolygonClickEvent
PolygonId
PolygonUpdates
Polyline
Defines a polyline on a map.
PolylineClickEvent
PolylineId
Represents an immutable polygon ID.
PolylineUpdates
RepetitiveTile
Provides repetitive tile images for TileOverlay.
ScreenCoordinate
Encapsulates x and y attributes.
Tile
Provides tile images for TileOverlay.
TileOverlay
A tile overlay is a set of images to be displayed on a map.
TileOverlayId
Represents an immutable tile overlay ID.
TileOverlayUpdates
UrlTile
Provides tile images for TileOverlay from URL.

Enums

MapType
Map types, which are enumerated values.
RadiusUnit
Enumeration class for heatmap radius units.

Functions

addToJson(dynamic json, String fieldName, dynamic value) → void
addToMap(dynamic map, String fieldName, dynamic value) → void
alphaAnimationToJson(HmsAlphaAnimation animation) Map<String, dynamic>
animationBaseToJson(Map<String, dynamic> json, HmsAnimation animation) Map<String, dynamic>
animationSetToJson(List animationSet) String
animationToJson(HmsAnimation animation) String
cameraTargetBoundsToJson(CameraTargetBounds cameraTargetBounds) List<List<List<double>>>?
circleToJson(Circle circle) Map<String, dynamic>
circleToList(Set<Circle> circles) List<Map<String, dynamic>>
circleToMap(Iterable<Circle> circles) Map<CircleId, Circle>
circleUpdatesToJson(CircleUpdates circleUpdates) Map<String, dynamic>
colorValuesToJson(List<Color> colorValues) List<int>
groundOverlayToJson(GroundOverlay groundOverlay) Map<String, dynamic>
groundOverlayToList(Set<GroundOverlay> groundOverlays) List<Map<String, dynamic>>
groundOverlayToMap(Iterable<GroundOverlay> groundOverlays) Map<GroundOverlayId, GroundOverlay>
groundOverlayUpdatesToJson(GroundOverlayUpdates groundOverlayUpdates) Map<String, dynamic>
heatMapToJson(HeatMap heatMap) Map<String, dynamic>
heatMapToList(Set<HeatMap> heatMaps) List<Map<String, dynamic>>
heatMapToMap(Iterable<HeatMap> heatMaps) Map<HeatMapId, HeatMap>
heatMapUpdatesToJson(HeatMapUpdates heatMapUpdates) Map<String, dynamic>
holesToJson(List<List<LatLng>> holes) List
infoWindowtoJson(InfoWindow infoWindow) Map<String, dynamic>
latLngBoundsToJson(LatLngBounds latLngBounds) List<List<double>>
latLngStartEndToJson(LatLng start, LatLng end) List<List<double>>
latLngToJson(LatLng latLng) List<double>
markerToJson(Marker marker) Map<String, dynamic>
markerToList(Set<Marker> markers) List<Map<String, dynamic>>
markerToMap(Iterable<Marker> markers) Map<MarkerId, Marker>
markerUpdatesToJson(MarkerUpdates markerUpdates) Map<String, dynamic>
minMaxZoomPreferenceToJson(MinMaxZoomPreference minMaxZoomPreference) List<double>
myLocationStyleToJson(MyLocationStyle myLocationStle) Map<String, dynamic>
offsetToJson(Offset offset) List<double>
patternToJson(List<PatternItem> patterns) List
pointsToJson(List<LatLng> points) List
polygonToJson(Polygon polygon) → dynamic
polygonToList(Set<Polygon> polygons) List<Map<String, dynamic>>
polygonToMap(Iterable<Polygon> polygons) Map<PolygonId, Polygon>
polygonUpdatesToJson(PolygonUpdates polygonUpdates) Map<String, dynamic>
polylineToJson(Polyline polyline) → dynamic
polylineToList(Set<Polyline> polylines) List<Map<String, dynamic>>
polylineToMap(Iterable<Polyline> polylines) Map<PolylineId, Polyline>
polylineUpdatesToJson(PolylineUpdates polylineUpdates) Map<String, dynamic>
rotateAnimationToJson(HmsRotateAnimation animation) Map<String, dynamic>
scaleAnimationToJson(HmsScaleAnimation animation) Map<String, dynamic>
screenCoordinateToJson(ScreenCoordinate screenCoordinate) Map<String, int>
tileOverlayToJson(TileOverlay tileOverlay) Map<String, dynamic>
tileOverlayToList(Set<TileOverlay> tileOverlays) List<Map<String, dynamic>>
tileOverlayToMap(Iterable<TileOverlay> tileOverlays) Map<TileOverlayId, TileOverlay>
tileOverlayUpdatesToJson(TileOverlayUpdates tileOverlayUpdates) Map<String, dynamic>
tileProviderToJson(dynamic tileProviders) → dynamic
translateAnimationToJson(HmsTranslateAnimation animation) Map<String, dynamic>

Typedefs

ArgumentCallback<T> = void Function(T argument)
CameraPositionCallback = void Function(CameraPosition position)