Last change
on this file since 12466 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:
740 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.imagery;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | *
|
---|
6 | * Simple class representing default layer that might be set in imagery information
|
---|
7 | *
|
---|
8 | * This simple class is needed - as for WMS there is different information needed to specify layer than for WMTS
|
---|
9 | *
|
---|
10 | * @author Wiktor Niesiobedzki
|
---|
11 | *
|
---|
12 | */
|
---|
13 | public class DefaultLayer {
|
---|
14 |
|
---|
15 | protected String layerName;
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Constructor
|
---|
19 | * @param layerName that is the DefaultLayer
|
---|
20 | */
|
---|
21 | public DefaultLayer(String layerName) {
|
---|
22 | this.layerName = layerName;
|
---|
23 | }
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * @return layer name of the default layer
|
---|
27 | */
|
---|
28 | public String getLayerName() {
|
---|
29 | return layerName;
|
---|
30 | }
|
---|
31 |
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.