UNPKG

utm-utils

Version:

Super Light-Weight Utility Functions for Working with Universal Transverse Mercator

15 lines (12 loc) 298 B
function getZone(projection) { return Number.parseInt(projection.toString().substring(3)); } if (typeof define === "function" && define.amd) { define(function () { return getZone; }); } if (typeof module === "object") { module.exports = getZone; module.exports.default = getZone; }