[Mapbender-commits] r6650 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 29 03:30:16 EDT 2010


Author: verenadiewald
Date: 2010-07-29 07:30:16 +0000 (Thu, 29 Jul 2010)
New Revision: 6650

Modified:
   trunk/mapbender/http/plugins/mb_getApi.js
Log:
georss for mapframe1, not for overview

Modified: trunk/mapbender/http/plugins/mb_getApi.js
===================================================================
--- trunk/mapbender/http/plugins/mb_getApi.js	2010-07-29 07:15:28 UTC (rev 6649)
+++ trunk/mapbender/http/plugins/mb_getApi.js	2010-07-29 07:30:16 UTC (rev 6650)
@@ -78,14 +78,14 @@
 			// array of georss
 			if(typeof params.GEORSS == 'object') {
 				for (var i = 0 ; i < params.GEORSS.length ; i++) {
-					options.$target.georss({
+					options.$target.eq(0).georss({
 						url : params.GEORSS[i]
 					});
 				}
 			}
 			// single georss
 			else {
-				options.$target.georss({
+				options.$target.eq(0).georss({
 					url : params.GEORSS
 				});
 			}



More information about the Mapbender_commits mailing list