original_string: function getAddOverlayJS(){
  		 $_output = "";
  		 foreach($this->_overlays as $_key=>$_overlay){
  			 $_output .= "
  			 	 var bounds = new google.maps.LatLngBounds(new google.maps.LatLng(".$_overlay["bounds"]["ne"]["lat"].", ".$_overlay["bounds"]["ne"]["long"]."), new google.maps.LatLng(".$_overlay["bounds"]["sw"]["lat"].", ".$_overlay["bounds"]["sw"]["long"]."));
  				 var image = '".$_overlay["img"]."';
  			     overlays".$this->map_id."[$_key] = new CustomOverlay(bounds, image, map".$this->map_id.", ".$_overlay["opacity"].");
  			 ";
  		 }
  		 return $_output;
  	 }
code: function getAddOverlayJS(){
  		 $_output = "";
  		 foreach($this->_overlays as $_key=>$_overlay){
  			 $_output .= "
  			 	 var bounds = new google.maps.LatLngBounds(new google.maps.LatLng(".$_overlay["bounds"]["ne"]["lat"].", ".$_overlay["bounds"]["ne"]["long"]."), new google.maps.LatLng(".$_overlay["bounds"]["sw"]["lat"].", ".$_overlay["bounds"]["sw"]["long"]."));
  				 var image = '".$_overlay["img"]."';
  			     overlays".$this->map_id."[$_key] = new CustomOverlay(bounds, image, map".$this->map_id.", ".$_overlay["opacity"].");
  			 ";
  		 }
  		 return $_output;
  	 }
code_tokens: function getAddOverlayJS ( ) { $ _output = "" ; foreach ( $ this -> _overlays as $ _key => $ _overlay ) { $ _output .= "
  			 	 var bounds = new google.maps.LatLngBounds(new google.maps.LatLng(" . $ _overlay [ "bounds" ] [ "ne" ] [ "lat" ] . ", " . $ _overlay [ "bounds" ] [ "ne" ] [ "long" ] . "), new google.maps.LatLng(" . $ _overlay [ "bounds" ] [ "sw" ] [ "lat" ] . ", " . $ _overlay [ "bounds" ] [ "sw" ] [ "long" ] . "));
  				 var image = '" . $ _overlay [ "img" ] . "';
  			     overlays" . $ this -> map_id . "[$_key] = new CustomOverlay(bounds, image, map" . $ this -> map_id . ", " . $ _overlay [ "opacity" ] . ");
  			 " ; } return $ _output ; }
docstring: function to get overlay creation JS.
docstring_tokens: function to get overlay creation JS .