Package globus.glmap
Class GLMapViewState
java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapViewState
- All Implemented Interfaces:
AutoCloseable
Non mutable state of map. Can contain depth buffer to handle touches correctly.
-
Method Summary
Modifier and TypeMethodDescriptionconvertDisplayToInternal(double x, double y, MapPoint result) Converts a screen-space point (pixels) to a map coordinate.Methods inherited from class globus.glmap.GLNativeObject
close, dispose
-
Method Details
-
convertDisplayToInternal
Converts a screen-space point (pixels) to a map coordinate.- Parameters:
x- screen x-coordinate, in pixelsy- screen y-coordinate, in pixelsresult- destination for the converted point- Returns:
result
-