Interface MapView.MapEventListener

All Known Implementing Classes:
MapFragment, MapSheetFragment
Enclosing class:
MapView

public static interface MapView.MapEventListener
A listener for receiving map events from the MapView
  • Method Details

    • onMapLoadStart

      void onMapLoadStart()
      Called when initial loading of a map starts, this is called before any web request or graphics related loading happens.
    • onMapLoadFinish

      void onMapLoadFinish()
      Called after loading of the map image is complete.

      It has not been rendered at this point.

    • onPlacemarksLoadFinish

      void onPlacemarksLoadFinish()
      Called after loading Placemarks.

      This is a good place to add your own markers and edit data in the loaded Placemarks before they are rendered to the screen.

    • onMapRenderFinish

      void onMapRenderFinish()
      Called after the map and Placemarks have been loaded and rendered.

      Changing any markers should be avoided.

    • onMapLoadFail

      void onMapLoadFail(Throwable tr)
      Called when there has been an error retrieving the map from the internet or parsing the map that was retrieved.
      Parameters:
      tr - Exception that occurred while loading map.
    • onMapTransformChange

      void onMapTransformChange(Matrix transform)
      Called when screen to map transform for this map changes.
      Parameters:
      transform - new transform matrix.
    • onLocationUpdated

      void onLocationUpdated(MeridianLocation location)
      Called when the Location has updated for this map.
      Parameters:
      location - The updated location.
    • onOrientationUpdated

      void onOrientationUpdated(MeridianOrientation orientation)
      Called when orientation of the device has been updated.
      Parameters:
      orientation - The updated orientation.