Package com.navmii.sdk.map
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.
-
Constructor Details
-
MapProjection
public MapProjection()
-
-
Method Details
-
mapCoordinatesFromScreenPosition
Translates the specified screen point in pixels to map coordinates.- Parameters:
pointOnScreen
- The screen point in pixels.- Returns:
- Map coordinates.
-
screenPositionFromMapCoordinates
Translates the specified map coordinates to a screen point.- Parameters:
coordinates
- Map coordinates.- Returns:
- Screen point in pixels.
-