Projection
Projection:
object
A greatly reduced version of the Projection interface from the globe branch,
used to port symbol bugfixes over to the main branch. Will be replaced with
the proper interface once globe is merged.
Type declaration
useSpecialProjectionForSymbols
useSpecialProjectionForSymbols:
boolean
getCircleRadiusCorrection()
Parameters
| Parameter | Type |
|---|---|
tr
| any
|
Returns
number
getPitchedTextCorrection()
Parameters
| Parameter | Type |
|---|---|
_transform
| any
|
_anchor
| any
|
_tile
| any
|
Returns
number
isOccluded()
Parameters
| Parameter | Type |
|---|---|
_x
| any
|
_y
| any
|
_t
| any
|
Returns
boolean
projectTileCoordinates()
Parameters
| Parameter | Type |
|---|---|
_x
| any
|
_y
| any
|
_t
| any
|
_ele
| any
|
Returns
translatePosition()
Parameters
| Parameter | Type |
|---|---|
transform
| object
|
transform.angle
| number
|
transform.zoom
| number
|
tile
| Tile
|
translate
| [number, number]
|
translateAnchor
| "map" | "viewport"
|
Returns
[number, number]