rem: this.Map.Maptypes[n].lowreshybridtiles_url = lrht[0].firstChild.nodeValue; 
add: this.Map.maptypes[n].lowreshybridtiles_url = lrht[0].firstChild.nodeValue; 
context: 	 BitMap.Edit.prototype.addMapType = function(rslt){      var xml = rslt.responseXML;			// create a spot for a new maptype in the data array			var n = this.Map.Maptypes.length;			this.Map.Maptypes[n] = new Array();			//@todo there are several more values to add, update when updated maptype stuff globally			// assign map type values data array						var id = xml.documentElement.getElementsByTagName('maptype_id');			  		this.Map.Maptypes[n].maptype_id = parseInt( id[0].firstChild.nodeValue );			var nm = xml.documentElement.getElementsByTagName('name');			  		this.Map.Maptypes[n].name = nm[0].firstChild.nodeValue;			var ds = xml.documentElement.getElementsByTagName('description');			  		this.Map.Maptypes[n].description = ds[0].firstChild.nodeValue;			var cr = xml.documentElement.getElementsByTagName('copyright');			  		this.Map.Maptypes[n].copyright = cr[0].firstChild.nodeValue;			var bt = xml.documentElement.getElementsByTagName('basetype');  		this.Map.Maptypes[n].basetype = parseInt( bt[0].firstChild.nodeValue );			var at = xml.documentElement.getElementsByTagName('alttype');  		this.Map.Maptypes[n].alttype = parseInt( at[0].firstChild.nodeValue );			var bd = xml.documentElement.getElementsByTagName('bounds');			  		this.Map.Maptypes[n].bounds = bd[0].firstChild.nodeValue;			var mz = xml.documentElement.getElementsByTagName('maxzoom');  		this.Map.Maptypes[n].maxzoom = parseInt( mz[0].firstChild.nodeValue );			var mt = xml.documentElement.getElementsByTagName('maptiles_url');			  		this.Map.Maptypes[n].maptiles_url = mt[0].firstChild.nodeValue;			var lrmt = xml.documentElement.getElementsByTagName('lowresmaptiles_url');			  		this.Map.Maptypes[n].lowresmaptiles_url = lrmt[0].firstChild.nodeValue;			var ht = xml.documentElement.getElementsByTagName('hybridtiles_url');			  		this.Map.Maptypes[n].hybridtiles_url = ht[0].firstChild.nodeValue;			var lrht = xml.documentElement.getElementsByTagName('lowreshybridtiles_url');			  		this.Map.Maptypes[n].lowreshybridtiles_url = lrht[0].firstChild.nodeValue;						this.Map.Maptypes[n].maptype_node = this.Map.map.mapTypes.length;						// attach the new map type to the map			var baseid = this.Map.Maptypes[n].basetype;			var typeid = this.Map.Maptypes[n].maptype_id;			var typename = this.Map.Maptypes[n].name;			var result = copy_obj( this.Map.map.mapTypes[baseid] );			result.baseUrls = new Array();			result.baseUrls[0] = this.Map.Maptypes[n].maptiles_url;			result.typename = this.Map.Maptypes[n].name;			result.getLinkText = function() { return this.typename; };			this.Map.map.mapTypes[this.Map.map.mapTypes.length] = result;			this.Map.Maptypes[typename] = result;						// set the map type to active			this.Map.map.setMapType(this.Map.Maptypes[typename]);			// update the controls  		this.Map.map.removeControl(typecontrols);  		this.Map.map.addControl(typecontrols);			// clear the form			$('maptypeform_new').reset();			// update the sets menus			this.editMapTypes();	 }
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js