Click or drag to resize

IMapMouseHandler Interface

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Implement to allow an item on the map to respond to mouse clicks.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.83.0.0
Syntax
public interface IMapMouseHandler

The IMapMouseHandler type exposes the following members.

Properties
  NameDescription
Public propertyMapMouseEventsHandler
Gets the MapMouseEventsHandler.
Top
Methods
  NameDescription
Public methodCode exampleHitTest
Test if the given x,y coordinates lie within the bounds of this item.
Top
Remarks
IMapMouseHandler should be implemented by any object that will be displayed on an IMap and wants to be able to respond to mouse events. IMapMouseHandler handles mouse events through the MapMouseEventsHandler but also defines a further method called HitTest(Int32, Int32, IMap). This method is used to determine whether the implementing object lies underneath a mouse click at given x & y coordinates.

Related articles: Mouse Events.

See Also