[fusion-commits] r2021 - in trunk/layers: . MapGuide MapServer
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Dec 17 10:12:36 EST 2009
Author: madair
Date: 2009-12-17 10:12:33 -0500 (Thu, 17 Dec 2009)
New Revision: 2021
Modified:
trunk/layers/Layers.js
trunk/layers/MapGuide/MapGuide.js
trunk/layers/MapServer/MapServer.js
Log:
move LAYER_PROPERTY_CHANGED to Layers base class
Modified: trunk/layers/Layers.js
===================================================================
--- trunk/layers/Layers.js 2009-12-15 20:05:12 UTC (rev 2020)
+++ trunk/layers/Layers.js 2009-12-17 15:12:33 UTC (rev 2021)
@@ -58,7 +58,8 @@
this.registerEventID(Fusion.Event.LAYER_LOADED);
this.registerEventID(Fusion.Event.LAYER_LOADING);
this.registerEventID(Fusion.Event.MAP_LAYER_ORDER_CHANGED);
-
+ this.registerEventID(Fusion.Event.LAYER_PROPERTY_CHANGED);
+
this.mapWidget = map;
this.oSelection = null;
if (isMapWidgetLayer != null) {
Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js 2009-12-15 20:05:12 UTC (rev 2020)
+++ trunk/layers/MapGuide/MapGuide.js 2009-12-17 15:12:33 UTC (rev 2021)
@@ -57,7 +57,6 @@
}
this.registerEventID(Fusion.Event.MAP_SESSION_CREATED);
- this.registerEventID(Fusion.Event.LAYER_PROPERTY_CHANGED);
this.mapInfo = mapTag.mapInfo;
this.imageFormat = mapTag.extension.ImageFormat ? mapTag.extension.ImageFormat[0] : this.defaultFormat;
@@ -562,7 +561,7 @@
ratio: this.ratio
};
if ((behavior & 1) == 0 && !/WebKit/.test(navigator.userAgent)) {
- layerOptions.transitionEffect = 'resize';
+ //layerOptions.transitionEffect = 'resize';
}
//add in scales array if supplied
Modified: trunk/layers/MapServer/MapServer.js
===================================================================
--- trunk/layers/MapServer/MapServer.js 2009-12-15 20:05:12 UTC (rev 2020)
+++ trunk/layers/MapServer/MapServer.js 2009-12-17 15:12:33 UTC (rev 2021)
@@ -52,7 +52,6 @@
//console.log('Fusion.Layers.MapServer.initialize');
Fusion.Layers.prototype.initialize.apply(this, arguments);
this.registerEventID(Fusion.Event.MAP_SESSION_CREATED);
- this.registerEventID(Fusion.Event.LAYER_PROPERTY_CHANGED);
//this.selectionType = extension.SelectionType ? extension.SelectionType[0] : 'INTERSECTS';
this.sMapFile = mapTag.extension.MapFile ? mapTag.extension.MapFile[0] : '';
More information about the fusion-commits
mailing list