public class MapViewProjection extends Object
| Constructor and Description |
|---|
MapViewProjection(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
LatLong |
fromPixels(double x,
double y)
Computes the geographic coordinates of a screen point.
|
double |
getLatitudeSpan()
Computes vertical extend of the map view.
|
double |
getLongitudeSpan()
Computes horizontal extend of the map view.
|
Point |
toPixels(LatLong in)
Converts geographic coordinates to view x/y coordinates in the map view.
|
public MapViewProjection(MapView mapView)
public LatLong fromPixels(double x, double y)
public double getLatitudeSpan()
public double getLongitudeSpan()
Copyright © 2015 mapsforge.org