-
Notifications
You must be signed in to change notification settings - Fork 762
Closed
Description
1st - would be nice if the test code below defaults to the first item in tileMatrixSetLinks instead of requiring exactly one item to exist (remove the == 1 test):
if (config.matrixSet) {
matrixSet = contents.tileMatrixSets[config.matrixSet];
} else if (layerDef.tileMatrixSetLinks.length == 1) {
matrixSet = contents.tileMatrixSets[
layerDef.tileMatrixSetLinks[0].tileMatrixSet];
}
2nd - precedence defect on line 157...missing ():
var units = config.units || (projection === "EPSG:4326" ? "degrees" : "m");
Metadata
Metadata
Assignees
Labels
No labels