Function: projectLocation() ​
ts
function projectLocation(
latitude,
longitude,
zoom
): object;Defined in: location.ts:83
World-pixel coordinates at the requested integer zoom, using 256px tiles.
Parameters ​
| Parameter | Type |
|---|---|
latitude | number |
longitude | number |
zoom | number |
Returns ​
object
| Name | Type | Defined in |
|---|---|---|
x | number | location.ts:83 |
y | number | location.ts:83 |