rem: defineXMarker(arrayId, n, stylen); 
add: defineXMarker(arrayId, n, editObjectN, stylen); 
context: 	 function updateIconStyle(rslt){      	var xml = rslt.responseXML;			//get the style we are updating			var m = bMIconData[editObjectN];			// assign iconsstyle values to data array			var id = xml.documentElement.getElementsByTagName('icon_id');  		m.icon_id = parseInt( id[0].firstChild.nodeValue );			var nm = xml.documentElement.getElementsByTagName('name');  		m.name = nm[0].firstChild.nodeValue;			var tp = xml.documentElement.getElementsByTagName('type');  		m.type = parseInt( tp[0].firstChild.nodeValue );			var ig = xml.documentElement.getElementsByTagName('image');  		m.image = ig[0].firstChild.nodeValue;			var rig = xml.documentElement.getElementsByTagName('rollover_image');  		m.rollover_image = rig[0].firstChild.nodeValue;			var icw = xml.documentElement.getElementsByTagName('icon_w');  		m.icon_w = parseInt( icw[0].firstChild.nodeValue );			var ich = xml.documentElement.getElementsByTagName('icon_h');  		m.icon_h = parseInt( ich[0].firstChild.nodeValue );			var is = xml.documentElement.getElementsByTagName('shadow_image');			  		m.shadow_image = is[0].firstChild.nodeValue;			var isw = xml.documentElement.getElementsByTagName('shadow_w');  		m.shadow_w = parseInt( isw[0].firstChild.nodeValue );			var ish = xml.documentElement.getElementsByTagName('shadow_h');  		m.shadow_h = parseInt( ish[0].firstChild.nodeValue );			var iax = xml.documentElement.getElementsByTagName('icon_anchor_x');			  		m.icon_anchor_x = parseInt( iax[0].firstChild.nodeValue );			var iay = xml.documentElement.getElementsByTagName('icon_anchor_y');			  		m.icon_anchor_y = parseInt( iay[0].firstChild.nodeValue );			var sax = xml.documentElement.getElementsByTagName('shadow_anchor_x');			  		m.shadow_anchor_x = parseInt( sax[0].firstChild.nodeValue );			var say = xml.documentElement.getElementsByTagName('shadow_anchor_y');			  		m.shadow_anchor_y = parseInt( say[0].firstChild.nodeValue );			var wax = xml.documentElement.getElementsByTagName('infowindow_anchor_x');			  		m.infowindow_anchor_x = parseInt( wax[0].firstChild.nodeValue );			var way = xml.documentElement.getElementsByTagName('infowindow_anchor_y');			  		m.infowindow_anchor_y = parseInt( way[0].firstChild.nodeValue );			//@todo - this needs to be made to support more than just init_markers			//update all markers			//for each marker			var arrayId = "I";      	var a = bIMData;        	//if the length of the array is > 0    	if (a.length > 0){      	//loop through the array    		for(n=0; n<a.length; n++){      		//if the array item is not Null    			if (a[n]!= null){						if (a[n].icon_id == m.icon_id){	      				//unload the marker  						map.removeOverlay( a[n].marker );							/* this stuff gets the correct style reference, 							 * might be better to attach the styleArray 							 * index to the marker data somewhere higher up 							 * to minimize these loops - but several 							 * update methods will have to be changed							 */        				if (a[n].style_id == 0){        					defineGMarker(arrayId, n);        				}else{        					var stylen;        					for (var b=0; b<bMStyleData.length; b++){        						if ( bMStyleData[b].style_id == a[n].style_id ){        							stylen = b;        						}        					}        					if ( bMStyleData[stylen].type == 0){        						defineGxMarker(arrayId, n, stylen);        					}else if ( bMStyleData[stylen].type == 1){        						definePdMarker(arrayId, n, stylen);        					}else if ( bMStyleData[stylen].type == 2){        						defineXMarker(arrayId, n, stylen);        					}        				}						}					}    		}    	}	 }
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/3e0bbee8d36ec1b8f46728f612263f404d41ffa5/js_edit_methods.js/clean/templates/js_edit_methods.js