Last change
on this file since 11257 was 11257, checked in by wiktorn, 7 years ago |
Make DefaultLayer a type that can have layerName and tileMatrixSet
As WMTS specification gives possibility to have many tileMatrixSet's for
one layer and projection, default layer must specify both - layerName
and tileMatrixSet.
Accommodate to that fact layer selection dialogs and internal
computations in WMTS TileSource.
Closes: #13975
|
File size:
413 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.imagery;
|
---|
3 |
|
---|
4 | public class WMTSDefaultLayer extends DefaultLayer {
|
---|
5 | String tileMatrixSet;
|
---|
6 |
|
---|
7 | public WMTSDefaultLayer(String layerName, String tileMatrixSet) {
|
---|
8 | super(layerName);
|
---|
9 | this.tileMatrixSet = tileMatrixSet;
|
---|
10 | }
|
---|
11 |
|
---|
12 | public String getTileMatrixSet() {
|
---|
13 | return tileMatrixSet;
|
---|
14 | }
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.