|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Projection
A projection maps between latitude-longitude coordinates and pixel coordinates (at a certain zoom).
| Method Summary | |
|---|---|
Point |
fromLatLngToPixel(LatLng latLng,
int zoom)
Returns the pixel coordinates corresponding to the specified latitude-longitude coordinates at the specified zoom. |
LatLng |
fromPixelToLatLng(PointView pixel,
int zoom)
Returns the latitude-longitude coordinates corresponding to the specified pixel coordinates at the specified zoom. |
SizeView |
getWrapSize(int zoom)
Returns the number of pixels after which the map wraps around the earth on each axis at the specified zoom. |
double |
getZoomMagnification(int startZoom,
int endZoom)
Returns the magnification coefficient between the two specified zooms, i.e. |
| Method Detail |
|---|
Point fromLatLngToPixel(LatLng latLng,
int zoom)
LatLng fromPixelToLatLng(PointView pixel,
int zoom)
SizeView getWrapSize(int zoom)
double getZoomMagnification(int startZoom,
int endZoom)
startZoom to endZoom. This would normally be a
value larger than 1 if endZoom is larger than
startZoom and vice versa.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||