[Mapbender-commits] r7022 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Oct 4 11:22:38 EDT 2010
Author: kmq
Date: 2010-10-04 15:22:38 +0000 (Mon, 04 Oct 2010)
New Revision: 7022
Modified:
trunk/mapbender/lib/mb.ui.displayFeatures.js
Log:
transform epsg when creating georss
Modified: trunk/mapbender/lib/mb.ui.displayFeatures.js
===================================================================
--- trunk/mapbender/lib/mb.ui.displayFeatures.js 2010-10-04 14:51:29 UTC (rev 7021)
+++ trunk/mapbender/lib/mb.ui.displayFeatures.js 2010-10-04 15:22:38 UTC (rev 7022)
@@ -161,12 +161,14 @@
_load : function(url){
var self = this, o = this.options;
+ var epsg = $(self.element).mapbender().epsg;
+ epsg = epsg.split(":")[1];
if(self._feeds[o.url]){
//not adding feed twice
return;
}
$.ajax({ url: self._endpointURL,
- data: {url: o.url},
+ data: {url: o.url, targetEPSG: epsg},
type: 'POST',
dataType: "json",
success : function(data,textStatus,xhr){
More information about the Mapbender_commits
mailing list