@Inject public FeatureInfoTool(GeoMap geoMap, LayerManagerWidget layerManager) { super( UIMessages.INSTANCE.featureInfoToolText(), ImageProvider.INSTANCE.edit32(), geoMap, layerManager); setToolTipConfig( createTooltipConfig( UIMessages.INSTANCE.featureInfoToolText(), UIMessages.INSTANCE.featureInfoToolTip(), Side.TOP)); setEnabled(false); }
public PNOAWMTSLayerSet() { WmtsLayerDef wmtsLayer = new WmtsLayerDef(); wmtsLayer.setUrl("http://www.ign.es/wmts/pnoa-ma?"); wmtsLayer.setLayerName("OI.OrthoimageCoverage"); wmtsLayer.setTileMatrixSet("GoogleMapsCompatible"); wmtsLayer.setName("WMTS Spot y ortofotos PNOA"); wmtsLayer.setFormat("image/png"); wmtsLayer.setIcon(ImageProvider.INSTANCE.ign16()); wmtsLayer.setDescription( "Imagen de satélite Spot5 a escalas menores de 1:70 000 y las ortofotografías PNOA de máxima actualidad para escalas mayores, para toda España"); wmtsLayer.setAttribution("«PNOA cedido por © Instituto Geográfico Nacional de España»"); layers.add(wmtsLayer); }