Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
unproject(point) {
if (!isNaN(point.x) && !isNaN(point.y)) {
const latLng = projAlbers.invert([point.x, point.y]);
return new LatLng(latLng[1], latLng[0]);
} else {
return new LatLng(0, 0);
}
}
};
unproject(point) {
if (!isNaN(point.x) && !isNaN(point.y)) {
const latLng = projAlbers.invert([point.x, point.y]);
return new LatLng(latLng[1], latLng[0]);
} else {
return new LatLng(0, 0);
}
}
};