fix projection syntax
This commit is contained in:
1 parent
81dffce4f4
commit
419ead9191
2 files changed
+2
-2
No files matched your search
@@ -153,7 +153,7 @@ OpenLayers.Format.WMTSCapabilities = OpenLayers.Class(OpenLayers.Format.XML.Vers
|
||||
}
|
||||
|
||||
var projection = config.projection || matrixSet.supportedCRS.replace(
|
||||
/urn:ogc:def:crs:(\w+):.+:(\w+)$/, "$1:$2");
|
||||
/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/, "$1:$3");
|
||||
var units = config.units ||
|
||||
projection === "EPSG:4326" ? "degrees" : "m"
|
||||
|
||||
|
||||
Reference in new issue
Block a user