Winter Cardinal UI - v0.442.0 / DMapCoordinateEPSG3857
• new DMapCoordinateEPSG3857(tileSize?
): DMapCoordinateEPSG3857
Name | Type | Default value |
---|---|---|
tileSize |
number |
256 |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:13
• Protected
_tileSize: number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:11
▪ Static
Protected
CIRCUMFERENCE_HALF: number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:9
▸ getTileSize(): number
number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:17
▸ lonLatToMeters(lonlat
, meters
): DMapPoint
Converts the given (lon, lat) point in WGS84 to (x, y) in EPSG:900913.
The origin of the converted point (x, y) is at the middle-left corner.
The meters
can be the same instance that is passed in as the lonlat
.
Name | Type | Description |
---|---|---|
lonlat |
DMapPoint |
(lon, lat) point |
meters |
DMapPoint |
(x, y) point in meters converted from the given lonlat. |
(x, y) point in meters
See
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:32
▸ lonLatToPixels(lonlat
, tz
, tileSize
, pixels
): DMapPoint
Name | Type |
---|---|
lonlat |
DMapPoint |
tz |
number |
tileSize |
number |
pixels |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:105
▸ lonLatToTile(lonlat
, tz
, tile
): DMapPoint
Name | Type |
---|---|
lonlat |
DMapPoint |
tz |
number |
tile |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:101
▸ metersToLonLat(meters
, lonlat
): DMapPoint
The lonlat
can be the same instance that is passed in as the meters
.
Name | Type |
---|---|
meters |
DMapPoint |
lonlat |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:45
▸ metersToPixels(meters
, tz
, tileSize
, pixels
): DMapPoint
Converts EPSG:900913 to pyramid pixel coordinates in given zoom level.
The origin of the pixels is the top-left corner.
The pixels
can be the same instance that is passed in as the meters
.
Name | Type |
---|---|
meters |
DMapPoint |
tz |
number |
tileSize |
number |
pixels |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:70
▸ metersToTile(meters
, tz
, tile
): DMapPoint
The origin of the tile is the top-left corner.
The tile
can be the same instance that is passed in as the meters
.
Name | Type |
---|---|
meters |
DMapPoint |
tz |
number |
tile |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:93
▸ pixelsToLonLat(pixels
, tz
, tileSize
, lonlat
): DMapPoint
Name | Type |
---|---|
pixels |
DMapPoint |
tz |
number |
tileSize |
number |
lonlat |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:109
▸ pixelsToMeters(pixels
, tz
, tileSize
, meters
): DMapPoint
Converts pixel coordinates in given zoom level of pyramid to EPSG:900913.
The origin of the pixels
is the top-left corner.
The meters
can be the same instance that is passed in as the pixels
.
Name | Type |
---|---|
pixels |
DMapPoint |
tz |
number |
tileSize |
number |
meters |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:57
▸ pixelsToTile(pixels
, tileSize
, tile
): DMapPoint
Returns a tile covering region in given pixel coordinates.
The origin of the tile is the top-left corner.
The tile
can be the same instance that is passed in as the pixels
.
Name | Type |
---|---|
pixels |
DMapPoint |
tileSize |
number |
tile |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:83
▸ tileToMeters(tile
, tz
, meters
): DMapPoint
Returns bounds of the given tile in EPSG:900913 coordinates
The meters
can be the same instance that is passed in as the tile
.
Name | Type |
---|---|
tile |
DMapPoint |
tz |
number |
meters |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:126
▸ tileToPixels(tile
, tileSize
, pixels
): DMapPoint
The pixels
can be the same instance that is passed in as the tile
.
Name | Type |
---|---|
tile |
DMapPoint |
tileSize |
number |
pixels |
DMapPoint |
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:116
▸ toResolution(tz
, tileSize
): number
Name | Type |
---|---|
tz |
number |
tileSize |
number |
number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:138
▸ toResolutionMeter(tz
): number
Name | Type |
---|---|
tz |
number |
number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:134
▸ toTileCode(tz
, tx
, ty
): number
Name | Type |
---|---|
tz |
number |
tx |
number |
ty |
number |
number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:146
▸ toTileCount(tz
): number
Name | Type |
---|---|
tz |
number |
number
src/main/typescript/wcardinal/ui/d-map-coordinate-epsg3857.ts:142