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.
SourceForge.net


Method Summary
 void mapClickCallback(MapClickType type, Point point, LatLon latLon, UTMGridRef gridRef)
          This method will be called back when the map in OziExplorer is clicked.
 

Method Detail

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 double
point - screen (x, y) coordinates of the click
latLon - (lattitude, longitude) of the click
gridRef - UTM grid reference of the click