Contents

convertPointOnPageToCoordinate(point)

Converts a point in page coordinates to the corresponding map coordinate.

Declaration

convertPointOnPageToCoordinate(point: DOMPoint): Coordinate;

Parameters

  • point:

    A point in the page’s coordinate system, such as new DOMPoint(event.pageX, event.pageY), when handling a mouse event.

Return Value

A Coordinate in the map at the provided DOMPoint of the page.

See Also

Converting map coordinates