Package com.arubanetworks.meridian.maps
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 Summary
Modifier and TypeMethodDescriptionvoid
onLocationUpdated
(MeridianLocation location) Called when the Location has updated for this map.void
Called when there has been an error retrieving the map from the internet or parsing the map that was retrieved.void
Called after loading of the map image is complete.void
Called when initial loading of a map starts, this is called before any web request or graphics related loading happens.void
Called after the map and Placemarks have been loaded and rendered.void
onMapTransformChange
(Matrix transform) Called when screen to map transform for this map changes.void
onOrientationUpdated
(MeridianOrientation orientation) Called when orientation of the device has been updated.void
Called after loading Placemarks.
-
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
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
Called when screen to map transform for this map changes.- Parameters:
transform
- new transform matrix.
-
onLocationUpdated
Called when the Location has updated for this map.- Parameters:
location
- The updated location.
-
onOrientationUpdated
Called when orientation of the device has been updated.- Parameters:
orientation
- The updated orientation.
-