目录

HuaweiMap.OnMapLoadedCallback

Interface Info

public interface HuaweiMap.OnMapLoadedListener

An internal API of the HuaweiMap class, which is called when the map loading is complete. It contains the abstract method onMapLoaded(). This API will be called when all layer elements on the map are rendered successfully, and will not be called if the map is unavailable or the map constantly changes and is not loaded completely because the user continually interacts with the map.

Public Method Summary

Qualifier and Type

Method Name and Description

abstract void

onMapLoaded()

Called when the map loading is complete.

Public Methods

[h2]onMapLoaded

Method

public abstract void onMapLoaded()

Called when the map loading is complete. This method is called only once. If you want to receive a callback notification again, you must call HuaweiMap.setOnMapLoadedCallback(HuaweiMap.OnMapLoadedCallback) again to request another callback.

This method will be executed in the main thread.