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 TypeMethodDescriptionvoidonLocationUpdated(MeridianLocation location) Called when the Location has updated for this map.voidCalled when there has been an error retrieving the map from the internet or parsing the map that was retrieved.voidCalled after loading of the map image is complete.voidCalled when initial loading of a map starts, this is called before any web request or graphics related loading happens.voidCalled after the map and Placemarks have been loaded and rendered.voidonMapTransformChange(android.graphics.Matrix transform) Called when screen to map transform for this map changes.voidonOrientationUpdated(MeridianOrientation orientation) Called when orientation of the device has been updated.voidCalled 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
void onMapTransformChange(android.graphics.Matrix transform) 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.
-