Revision 483 org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.app/org.gvsig.raster.wmts.app.wmtsclient/src/main/java/org/gvsig/raster/wmts/app/wmtsclient/layer/FLyrWMTS.java

View differences:

FLyrWMTS.java
314 314
		try {
315 315
			info.put("name", getName());
316 316
			info.put("selectedLayer", layerName);
317
			info.put("host", par.getHost());
317
			info.put("host", par.getURI());
318 318
			info.put("srs", par.getSRSCode());
319 319
			info.put("imageformat", par.getImageFormat());
320 320
			info.put("infoformat", par.getInfoFormat());
......
553 553
			this.setDataStore(dStore);
554 554
			
555 555
			if(params instanceof WMTSDataParameters) {
556
				this.setName(((WMTSDataParameters) params).getHost());
556
				this.setName(((WMTSDataParameters) params).getURI());
557 557
			}
558 558
			
559 559
			if(params instanceof TileDataParameters) {
560 560
				DataParameters p = ((TileDataParameters) params).getDataParameters();
561 561
				if(p instanceof WMTSDataParameters) {
562
					this.setName(((WMTSDataParameters) p).getHost());
562
					this.setName(((WMTSDataParameters) p).getURI());
563 563
				}
564 564
			}
565 565
			

Also available in: Unified diff