MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / normalizeScale

Function normalizeScale

src/leaflet/core/Util.js:166–168  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

164 * ```
165 */
166export var normalizeScale = function(scale) {
167 return scale > 1.0 ? 1.0 / scale : scale;
168};
169
170 /**
171 * @function getResolutionFromScaleDpi

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected