Class MapView.MapProjection

java.lang.Object
com.navmii.sdk.map.MapView.MapProjection
Enclosing class:
MapView

public class MapView.MapProjection
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    MapProjection()  
  • Method Summary

    Modifier and Type Method Description
    MapCoordinates mapCoordinatesFromScreenPosition​(android.graphics.Point pointOnScreen)
    Translates the specified screen point in pixels to map coordinates.
    android.graphics.Point screenPositionFromMapCoordinates​(MapCoordinates coordinates)
    Translates the specified map coordinates to a screen point.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • mapCoordinatesFromScreenPosition

      public MapCoordinates mapCoordinatesFromScreenPosition​(android.graphics.Point pointOnScreen)
      Translates the specified screen point in pixels to map coordinates.
      Parameters:
      pointOnScreen - The screen point in pixels.
      Returns:
      Map coordinates.
    • screenPositionFromMapCoordinates

      public android.graphics.Point screenPositionFromMapCoordinates​(MapCoordinates coordinates)
      Translates the specified map coordinates to a screen point.
      Parameters:
      coordinates - Map coordinates.
      Returns:
      Screen point in pixels.