VisioMove Essential (Android)  1.23.0
VMEMapListener Class Referenceabstract

Description

Interface definition of methods that are invoked when map related events occur.

Example
VMEMapListener mapListener = new VMEMapListener()
{
@Override
public void mapSceneDidUpdate(VMEMapView mapView, VMESceneContext scene, VMEViewMode viewMode) {
Log.i(LOG_TAG, "Mode: " + viewMode.toString() + " Scene: " + scene.toString());
}
@Override
public void mapDidReceiveTapGesture(VMEMapView mapView, VMEPosition position) {
if (position==null) {
Log.i(MainActivity.LOG_TAG, "mapTapGesture outside of map " );
} else {
Log.i(MainActivity.LOG_TAG, "mapTapGesture position: " + position.toString());
}
}
}
};
mapView.setMapListener(mapListener);
Version
1.0

Public Member Functions

void mapSceneDidUpdate (VMEMapView mapView, VMESceneContext scene, VMEViewMode viewMode)
 Notifies the listener that the map's scene or view mode has changed. More...
 
void mapDidReceiveTapGesture (VMEMapView mapView, VMEPosition position)
 Notifies the listener that a tap gesture has occurred on map view. More...
 
Visioglobe® 2015-2020