Class HereMap
The representation of a dynamic and interactive geographic map. The map manages a collection of layers of objects and spaces, presents them in a stacked layout and offers the means to focus on a certain area. The layers, their relation to the objects and spaces, the layout and the representation style is described through a configuration.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapIdleListener(MapIdleListener listener) Adds a listener for receiving idle state notifications and notifies it of the current state.voidremoveMapIdleListener(MapIdleListener listener) Removes a listener from receiving idle state notifications.
-
Method Details
-
addMapIdleListener
Adds a listener for receiving idle state notifications and notifies it of the current state.
The first notification received is always the state at the time of registration.
The new listener is appended to the set of
HereMapidle listeners as a strong reference. The caller is responsible for releasing the strong reference by callingremoveMapIdleListener(com.here.sdk.mapview.MapIdleListener).- Parameters:
listener-The listener
-
removeMapIdleListener
Removes a listener from receiving idle state notifications.
- Parameters:
listener-The listener
-