public class Projection extends Object implements IProjection
Projection
implementation.
This implements IProjection
, which is also implemented by the osmdroid
MapView.Projection
.Constructor and Description |
---|
Projection(com.google.android.maps.MapView aMapView) |
Modifier and Type | Method and Description |
---|---|
IGeoPoint |
fromPixels(int x,
int y) |
IGeoPoint |
getNorthEast() |
IGeoPoint |
getSouthWest() |
float |
metersToEquatorPixels(float meters) |
android.graphics.Point |
toPixels(IGeoPoint in,
android.graphics.Point out) |
public android.graphics.Point toPixels(IGeoPoint in, android.graphics.Point out)
toPixels
in interface IProjection
public IGeoPoint fromPixels(int x, int y)
fromPixels
in interface IProjection
public float metersToEquatorPixels(float meters)
metersToEquatorPixels
in interface IProjection
public IGeoPoint getNorthEast()
getNorthEast
in interface IProjection
public IGeoPoint getSouthWest()
getSouthWest
in interface IProjection
Copyright © 2014. All Rights Reserved.