[Mapbender-commits] r8875 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri May 16 04:55:53 PDT 2014
Author: hwbllmnn
Date: 2014-05-16 04:55:53 -0700 (Fri, 16 May 2014)
New Revision: 8875
Modified:
trunk/mapbender/lib/mb.ui.displayKmlFeatures.js
Log:
commented out uses of original kml stuff
Modified: trunk/mapbender/lib/mb.ui.displayKmlFeatures.js
===================================================================
--- trunk/mapbender/lib/mb.ui.displayKmlFeatures.js 2014-05-16 08:43:10 UTC (rev 8874)
+++ trunk/mapbender/lib/mb.ui.displayKmlFeatures.js 2014-05-16 11:55:53 UTC (rev 8875)
@@ -103,10 +103,10 @@
self.element.trigger('kml:loaded',kmls[k]);
}
}
- kmls = mb_getWmcExtensionData('ORIGINALKMLS');
- if(kmls) {
- this.originalKmls = kmls;
- }
+ // kmls = mb_getWmcExtensionData('ORIGINALKMLS');
+ // if(kmls) {
+ // this.originalKmls = kmls;
+ // }
kmls = mb_getWmcExtensionData('KMLORDER');
if(kmls) {
this.kmlOrder = JSON.parse(kmls);
@@ -218,18 +218,18 @@
//not adding feed twice
return;
}
- $.ajax({url: '../php/getOriginalKml.php',
- data: {url: o.url},
- type: 'POST',
- dataType: 'text/plain',
- success: function(data) {
- if(!self.originalKmls) {
- self.originalKmls = {};
- }
- self.originalKmls[o.url] = data;
- self.kmlOrder.push(o.url);
- }
- });
+ // $.ajax({url: '../php/getOriginalKml.php',
+ // data: {url: o.url},
+ // type: 'POST',
+ // dataType: 'text/plain',
+ // success: function(data) {
+ // if(!self.originalKmls) {
+ // self.originalKmls = {};
+ // }
+ // self.originalKmls[o.url] = data;
+ // self.kmlOrder.push(o.url);
+ // }
+ // });
$.ajax({ url: '../php/kmlToGeoJSON.php',
data: {url: o.url, targetEPSG: 'EPSG:4326'},
More information about the Mapbender_commits
mailing list