Options
All
  • Public
  • Public/Protected
  • All
Menu

This object is returned from various mouse events on the map and overlays, and contains all the fields shown below.

Hierarchy

Index

Properties

Methods

Properties

domEvent: Event | KeyboardEvent | MouseEvent | TouchEvent | PointerEvent

The corresponding native DOM event. Developers should not rely on target, currentTarget, relatedTarget and path properties being defined and consistent. Developers should not also rely on the DOM structure of the internal implementation of the Maps API. Due to internal event mapping, the domEvent may have different semantics from the google.maps.MapMouseEvent (e.g. a google.maps.MapMouseEvent "click" may have a domEvent of type KeyboardEvent).

latLng: null | LatLng

The latitude/longitude that was below the cursor when the event occurred.

Methods

  • stop(): void
  • Prevents this event from propagating further.

    Returns void

Generated using TypeDoc