目录

Overview

Function classes of the Map SDK.

Interface Summary

Interface

Description

HuaweiMap.CancelableCallback

Provides callbacks executed when a task is finished or canceled.

HuaweiMap.InfoWindowAdapter

Provides a custom information window for a marker.

HuaweiMap.OnCameraIdleListener

Listens for the camera movement end event.

HuaweiMap.OnCameraMoveCanceledListener

Listens for the camera movement cancellation event.

HuaweiMap.OnCameraMoveListener

Listens for the camera movement event.

HuaweiMap.OnCameraMoveStartedListener

Listens for the camera movement start event.

HuaweiMap.OnCircleClickListener

Listens for the circle tap event.

HuaweiMap.OnGroundOverlayClickListener

Listens for the ground overlay tap event.

HuaweiMap.OnInfoWindowClickListener

Listens for the information window tap event.

HuaweiMap.OnInfoWindowCloseListener

Listens for the information window closure event.

HuaweiMap.OnInfoWindowLongClickListener

Listens for the long press event of an information window.

HuaweiMap.OnMapClickListener

Listens for the map tap event.

HuaweiMap.OnMapLoadedCallback

Provides callbacks executed when the map loading is complete.

HuaweiMap.OnMapLongClickListener

Listens for the long press event of a map.

HuaweiMap.OnMarkerClickListener

Listens for the marker tap event.

HuaweiMap.OnMarkerDragListener

Listens for the marker drag event.

HuaweiMap.OnMyLocationButtonClickListener

Listens for the tap event of the my-location button.

HuaweiMap.OnMyLocationClickListener

Listens for the my-location tap event.

HuaweiMap.OnPoiClickListener

Listens for the POI tap event.

HuaweiMap.OnPolygonClickListener

Listens for the polygon tap event.

HuaweiMap.OnPolylineClickListener

Listens for the polyline tap event.

HuaweiMap.SnapshotReadyCallback

Provides callbacks executed when a snapshot is generated.

LocationSource

Defines a location source that provides location data.

LocationSource.OnLocationChangedListener

Listens for location source changes.

OnMapReadyCallback

Provides callbacks executed when the HuaweiMap object is ready.

Class Summary

Class

Description

CameraUpdate

Defines camera movement parameters.

CameraUpdateFactory

Provides various methods for creating CameraUpdate objects.

HuaweiMap

Entrance to main functions of the Map SDK.

HuaweiMapOptions

Defines HuaweiMap configuration information.

MapFragment

Map container that extends Fragment.

MapView

Map container that extends FrameLayout.

MapsInitializer

Final class that extends Object. To use certain functions before obtaining a map, use this class to initialize the Map SDK.

Projection

Final class that extends Object and converts between the screen coordinates and longitude/latitude coordinates.

SupportMapFragment

Map component in an app, which can be used to add a map to the app in the simplest way. To obtain the map manager, call getMapAsync.

TextureMapFragment

Map container, which is inherited from Fragment.

TextureMapView

Map container, which is inherited from MapView.

TextureSupportMapFragment

Map component in the app, which is inherited from Fragment and used to manage the map lifecycle. To obtain the map manager, call getMapAsync.

UiSettings

Sets the built-in UI and gesture controls of a map.