original_string: public function addInfoWindow(array $options = []) {
  		$defaults = $this->_runtimeConfig['infoWindow'];
  		$options += $defaults;
  
  		if (!empty($options['lat']) && !empty($options['lng'])) {
  			$position = 'new google.maps.LatLng(' . $options['lat'] . ', ' . $options['lng'] . ')';
  		} else {
  			$position = ' ' . $this->name() . ' .getCenter()';
  		}
  
  		$windows = "
  			gInfoWindows" . static::$mapCount . ".push(new google.maps.InfoWindow({
  					position: {$position},
  					content: " . $this->escapeString($options['content']) . ",
  					maxWidth: {$options['maxWidth']},
  					pixelOffset: {$options['pixelOffset']}
  					/*zIndex: {$options['zIndex']},*/
  			}));
  			";
  		$this->map .= $windows;
  		return static::$infoWindowCount++;
  	}
code: public function addInfoWindow(array $options = []) {
  		$defaults = $this->_runtimeConfig['infoWindow'];
  		$options += $defaults;
  
  		if (!empty($options['lat']) && !empty($options['lng'])) {
  			$position = 'new google.maps.LatLng(' . $options['lat'] . ', ' . $options['lng'] . ')';
  		} else {
  			$position = ' ' . $this->name() . ' .getCenter()';
  		}
  
  		$windows = "
  			gInfoWindows" . static::$mapCount . ".push(new google.maps.InfoWindow({
  					position: {$position},
  					content: " . $this->escapeString($options['content']) . ",
  					maxWidth: {$options['maxWidth']},
  					pixelOffset: {$options['pixelOffset']}
  					/*zIndex: {$options['zIndex']},*/
  			}));
  			";
  		$this->map .= $windows;
  		return static::$infoWindowCount++;
  	}
code_tokens: public function addInfoWindow ( array $ options = [ ] ) { $ defaults = $ this -> _runtimeConfig [ 'infoWindow' ] ; $ options += $ defaults ; if ( ! empty ( $ options [ 'lat' ] ) && ! empty ( $ options [ 'lng' ] ) ) { $ position = 'new google.maps.LatLng(' . $ options [ 'lat' ] . ', ' . $ options [ 'lng' ] . ')' ; } else { $ position = ' ' . $ this -> name ( ) . ' .getCenter()' ; } $ windows = "
  			gInfoWindows" . static :: $ mapCount . ".push(new google.maps.InfoWindow({
  					position: {$position},
  					content: " . $ this -> escapeString ( $ options [ 'content' ] ) . ",
  					maxWidth: {$options['maxWidth']},
  					pixelOffset: {$options['pixelOffset']}
  					/*zIndex: {$options['zIndex']},*/
  			}));
  			" ; $ this -> map .= $ windows ; return static :: $ infoWindowCount ++ ; }
docstring: Creates a new InfoWindow.
  
  @param array $options
  - lat, lng, content, maxWidth, pixelOffset, zIndex
  @return int windowCount
docstring_tokens: Creates a new InfoWindow .