Skip to content

Function: unprojectLocation() ​

ts
function unprojectLocation(
   x, 
   y, 
   zoom
): object;

Defined in: location.ts:94

Inverse projection; panning across the date line wraps longitude.

Parameters ​

ParameterType
xnumber
ynumber
zoomnumber

Returns ​

object

NameTypeDefined in
latitudenumberlocation.ts:94
longitudenumberlocation.ts:94

Released under the GNU Affero General Public License v3.0.