rem: if (this.height = 0){ 
add: if (this.height == 0){ 
context: BitMap.Map = function (index, mapdiv, id, title, desc, data, parsed_data, width, height, center, zoom, maptype, controls, allow_comments, maptypes, tilelayers, copyrights, markers, markersets, markerstyles, iconstyles, polylines, polylinesets, polylinestyles, polygons, polygonsets, polygonstyles) {  this.index = index;  this.mapdiv = mapdiv;  this.id = id;  this.title = title;  this.description = desc;  this.data = data;  this.parsed_data = parsed_data;  this.width = width;  this.height = height;  this.center = center;  this.zoom = zoom;  this.maptype = maptype;  this.controls = controls;  this.allow_comments = allow_comments;  this.maptypes = maptypes;  this.tilelayers = tilelayers;  this.copyrights = copyrights;  this.markers = markers;  this.markersets = markersets;  this.markerstyles = markerstyles;  this.iconstyles = iconstyles;  this.polylines = polylines;  this.polylinesets = polylinesets;  this.polylinestyles = polylinestyles;  this.polygons = polygons;  this.polygonsets = polygonsets;  this.polygonstyles = polygonstyles;  this.map = new GMap2(document.getElementById(this.mapdiv));    this.setControls();	//auto resize stuff	if (this.height = 0){		this.MR = BitMap.Utl.MapResize;		//MR.regOffsetObjs([$('top'),$('header'),$('footer')]);		this.MR.regOffsetBonus(68);		this.MR.regMinSize(200);		this.MR.regMap(this.map);		this.MR.regMapDiv($(this.mapdiv));		//MR.regPanelDiv(this.paneldiv);		this.MR.sizeMapDiv();		this.MR.setResizeListener();	}	  this.map.setCenter(new GLatLng(this.center.lat, this.center.lng), this.zoom);  if (this.maptypes.length > 0){  	var ref = this;  	this.loopOver(ref.maptypes, function(i){ref.addMaptype(i);});  }    this.setMapType();  if (this.iconstyles.length > 0){  	var ref = this;  	this.loopOver(ref.maptypes, function(i){ref.defineGIcon(i);});  }   if (this.markers.length > 0){  	var ref = this;  	this.loopOver(ref.markers, function(i){ref.addMarker(i);});  }  };
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/238fa7db5b66f5dea5cd9142c001df9e68f9f829/BitMap.js/clean/templates/BitMap.js