Package | Description |
---|---|
com.gwidgets.api.leaflet |
Modifier and Type | Method and Description |
---|---|
Point |
Map.mouseEventToContainerPoint(MouseEvent event)
Returns the pixel coordinates of a mouse click (relative to the top left corner of the map) given its event object.
|
LatLng |
Map.mouseEventToLatLng(MouseEvent event)
Returns the geographical coordinates of the point the mouse clicked on given the click's event object.
|
Point |
Map.mouseEventToLayerPoint(MouseEvent event)
Returns the pixel coordinates of a mouse click relative to the map layer given its event object.
|
Copyright © 2018 G-Widgets. All rights reserved.