Class HereMap

java.lang.Object
com.here.NativeBase
com.here.sdk.mapview.HereMap

public final class HereMap extends NativeBase

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 Details

    • addMapIdleListener

      public void addMapIdleListener(@NonNull MapIdleListener listener)

      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 HereMap idle listeners as a strong reference. The caller is responsible for releasing the strong reference by calling removeMapIdleListener(com.here.sdk.mapview.MapIdleListener).

      Parameters:
      listener -

      The listener

    • removeMapIdleListener

      public void removeMapIdleListener(@NonNull MapIdleListener listener)

      Removes a listener from receiving idle state notifications.

      Parameters:
      listener -

      The listener