[Mapbender-commits] r9926 - in trunk/mapbender/http: javascripts plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 26 03:36:13 PDT 2018


Author: armin11
Date: 2018-07-26 03:36:12 -0700 (Thu, 26 Jul 2018)
New Revision: 9926

Modified:
   trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
   trunk/mapbender/http/plugins/mb_downloadFeedClient.php
Log:
Open links from inspire download feed client in new windows

Modified: trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/javascripts/mb_downloadFeedClient.php	2018-07-12 12:59:58 UTC (rev 9925)
+++ trunk/mapbender/http/javascripts/mb_downloadFeedClient.php	2018-07-26 10:36:12 UTC (rev 9926)
@@ -219,6 +219,7 @@
 			//add capabilities anchor
 			identifierAnchor =  $(document.createElement('a')).appendTo('#capabilities_hybrid');
 			identifierAnchor.attr({'id':'capabilities_link'});
+			identifierAnchor.attr({'target':'_blank'});
 			identifierAnchor.attr({'href':featureCollection.features[i].properties.capabilitiesLink});
 			identifierAnchor.text(featureCollection.features[i].properties.capabilitiesLink);
 			//show hybrid link only if it is there
@@ -386,6 +387,7 @@
 					//show Downloadlink
 					downloadLink = $(document.createElement('a')).appendTo('#section_list');
 					downloadLink.attr({'href':url});
+					downloadLink.attr({'target':'_blank'});
 					downloadLink.attr({'id':'download_link'});
 					if (feature.attributes.length == '' || feature.attributes.length === undefined) {
 						downloadLink.text(feature.attributes.title);

Modified: trunk/mapbender/http/plugins/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/plugins/mb_downloadFeedClient.php	2018-07-12 12:59:58 UTC (rev 9925)
+++ trunk/mapbender/http/plugins/mb_downloadFeedClient.php	2018-07-26 10:36:12 UTC (rev 9926)
@@ -204,7 +204,7 @@
 			<li><a class="example_service_feed" value="http://www.geoportal.hessen.de/mapbender//php/mod_inspireDownloadFeed.php?id=5cf8456c-abf4-b593-0acc-0942341f0957&type=SERVICE&generateFrom=wfs&wfsid=264">Abflussgebiete HQ100 Hessen (WFS Datenquelle)</a></li>
 			<li><a class="example_service_feed" value="http://geo.noe.gv.at/inspire-download/download_service_feed.xml">Diverse Niederösterreich</a></li>
 			<li><a class="example_service_feed" value="https://www.geoportal.ie/geoportal/download/ProtectedSites_SPA/npws-inspire-protected-sites-special-protection-areas.atom.en.xml">Protected Sites Ireland</a></li>
-			<li><a class="example_service_feed" value="https://www.regionalstatistik.de/genesisws/inspire/pd/03/feeds/sf_200-71-4-B.xml">Statistik Niedersachsen (Destatis)</a></li>
+			<li><a class="example_service_feed" value="https://www.regionalstatistik.de/genesisws/inspire/pd/00/feeds/sf_32214-01-01-4.xml">Statistik Klärschlamm Destatis</a></li>
 			<li><a class="example_service_feed" value="http://sg.geodatenzentrum.de/web_download/downloadservice.atom.xml">Basisdaten Geodatenzentrum BKG</a></li>
 			<li><a class="example_service_feed" value="http://www.lfu.bayern.de/gdi/dls/biotopkartierung.xml">Diverse Landesamt für Umwelt Bayern</a></li>
 			<li><a class="example_service_feed" value="http://maps.waterschapservices.nl/www/download/nl.xml">Diverse 1 Netherlands</a></li>



More information about the Mapbender_commits mailing list