com.oziexplorer
Interface MapClickCallback
public interface MapClickCallback
Interface for intercepting OziAPI map clicks, both double and single.
Copyright 2011 Alan Burlison, . All rights reserved.
Use is subject to license terms, see
LICENSE.txt.
mapClickCallback
void mapClickCallback(MapClickType type,
Point point,
LatLon latLon,
UTMGridRef gridRef)
- This method will be called back when the map in OziExplorer is clicked.
Callbacks can be enabled by calling either
OziAPI.mapSingleClickOn(MapClickCallback)
or
OziAPI.mapDoubleClickOn(MapClickCallback)
.
- Parameters:
type
- type of click, single or doublepoint
- screen (x, y) coordinates of the clicklatLon
- (lattitude, longitude) of the clickgridRef
- UTM grid reference of the click