openlayers
Version:
Build tools and sources for developing OpenLayers based mapping applications
15 lines (13 loc) • 318 B
JavaScript
goog.provide('ol.control.ScaleLineUnits');
/**
* Units for the scale line. Supported values are `'degrees'`, `'imperial'`,
* `'nautical'`, `'metric'`, `'us'`.
* @enum {string}
*/
ol.control.ScaleLineUnits = {
DEGREES: 'degrees',
IMPERIAL: 'imperial',
NAUTICAL: 'nautical',
METRIC: 'metric',
US: 'us'
};