@JsType(isNative=true)
public interface ICRS
Modifier and Type | Method and Description |
---|---|
Point |
latLngToPoint(LatLng latlng,
java.lang.Number zoom)
Projects geographical coordinates on a given zoom into pixel coordinates.
|
LatLng |
pointToLatLng(Point point,
java.lang.Number zoom)
The inverse of latLngToPoint.
|
Point |
project(LatLng latlng)
Projects geographical coordinates into coordinates in units accepted for this CRS (e.g.
|
java.lang.Number |
scale(java.lang.Number zoom)
Returns the scale used when transforming projected coordinates into pixel coordinates for a particular zoom.
|
Point latLngToPoint(LatLng latlng, java.lang.Number zoom)
latlng
- the latlngzoom
- the zoomLatLng pointToLatLng(Point point, java.lang.Number zoom)
point
- the pointzoom
- the zoomPoint project(LatLng latlng)
latlng
- the latlngjava.lang.Number scale(java.lang.Number zoom)
zoom
- the zoom