VMEMap Listener
Interface definition of methods that are invoked when map related events occur.
Since
1.0
VMEMapListener mapListener = new VMEMapListener(){
@Override
public void mapSceneDidUpdate(VMESceneContext scene, VMEViewMode viewMode) {
Log.i(LOG_TAG, "Mode: " + viewMode.toString() + " Scene: " + scene.toString());
}
@Override
public void mapDidReceiveTapGesture(VMEPosition position) {
if (position==null) {
Log.i(MainActivity.LOG_TAG, "mapTapGesture outside of map " );
} else {
Log.i(MainActivity.LOG_TAG, "mapTapGesture position: " + position.toString());
}
}
};
mMapController.setMapListener(mapListener);
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Notifies the listener that a tap gesture has occurred on map view.
Link copied to clipboard
open fun mapSceneDidUpdate(scene: VMESceneContext?, viewMode: VMEViewMode?)
Content copied to clipboard
Notifies the listener that the map's scene or view mode has changed.