VisioMove Essential (Android)  1.27.6
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...
 
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy