Package globus.glmap

Class GLMapViewState

java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapViewState
All Implemented Interfaces:
AutoCloseable

public class GLMapViewState extends GLNativeObject
Non mutable state of map. Can contain depth buffer to handle touches correctly.
  • Method Details

    • convertDisplayToInternal

      @NonNull public MapPoint convertDisplayToInternal(double x, double y, @NonNull MapPoint result)
      Converts a screen-space point (pixels) to a map coordinate.
      Parameters:
      x - screen x-coordinate, in pixels
      y - screen y-coordinate, in pixels
      result - destination for the converted point
      Returns:
      result