[fusion-commits] r1738 - trunk/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Jan 16 14:47:30 EST 2009
Author: madair
Date: 2009-01-16 14:47:30 -0500 (Fri, 16 Jan 2009)
New Revision: 1738
Modified:
trunk/layers/MapGuide/MapGuide.js
Log:
re #183: use consistent spelling for behavior
Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js 2009-01-16 19:45:29 UTC (rev 1737)
+++ trunk/layers/MapGuide/MapGuide.js 2009-01-16 19:47:30 UTC (rev 1738)
@@ -525,7 +525,7 @@
*
* Returns an OpenLayers MapGuide layer object
*/
- createOLLayer: function(layerName, bIsBaseLayer, bSingleTile, behaviour) {
+ createOLLayer: function(layerName, bIsBaseLayer, bSingleTile, behavior) {
/* prevent the useOverlay flag based on site version */
if (( this.siteVersion[0] == 2 && this.siteVersion[1] < 1 ) || this.siteVersion[0] < 2) { //v2.0.0 or previous
this.selectionAsOverlay = false;
@@ -537,7 +537,7 @@
useOverlay: this.selectionAsOverlay,
ratio: this.ratio
};
- if ((behaviour & 1) == 0 && !/WebKit/.test(navigator.userAgent)) {
+ if ((behavior & 1) == 0 && !/WebKit/.test(navigator.userAgent)) {
layerOptions.transitionEffect = 'resize';
}
@@ -566,7 +566,7 @@
session: this.getSessionID(),
mapname: this._sMapname,
format: this.imageFormat,
- behavior: behaviour,
+ behavior: behavior,
version: "2.0.0",
clientagent: this.clientAgent
};
@@ -576,7 +576,7 @@
params.hideGroups = this.aHideGroups.length > 0 ? this.aHideGroups.toString() : null;
params.refreshLayers = this.aRefreshLayers.length > 0 ? this.aRefreshLayers.toString() : null;
- if (behaviour == 5) {
+ if (behavior == 5) {
params.selectioncolor = this.selectionColor;
params.format = this.selectionFormat;
}
More information about the fusion-commits
mailing list