correct units in WMTS capabilities
This commit is contained in:
@@ -155,7 +155,7 @@ OpenLayers.Format.WMTSCapabilities = OpenLayers.Class(OpenLayers.Format.XML.Vers
|
||||
var projection = config.projection || matrixSet.supportedCRS.replace(
|
||||
/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/, "$1:$3");
|
||||
var units = config.units ||
|
||||
projection === "EPSG:4326" ? "degrees" : "m";
|
||||
(projection === "EPSG:4326" ? "degrees" : "m");
|
||||
|
||||
var resolutions = [];
|
||||
if (config.isBaseLayer !== false) {
|
||||
|
||||
Reference in New Issue
Block a user