public function staticMap(array $options = [], array $attributes = []) {
		$defaultAttributes = ['alt' => __d('tools', 'Map')];
		$attributes += $defaultAttributes;

		// This was fixed in 3.5.1 to auto-escape URL query strings for security reasons
		$escape = version_compare(Configure::version(), '3.5.1') < 0 ? true : false;
		return $this->Html->image($this->staticMapUrl($options + ['escape' => $escape]), $attributes);
	}
public function staticMap(array $options = [], array $attributes = []) {
		$defaultAttributes = ['alt' => __d('tools', 'Map')];
		$attributes += $defaultAttributes;

		// This was fixed in 3.5.1 to auto-escape URL query strings for security reasons
		$escape = version_compare(Configure::version(), '3.5.1') < 0 ? true : false;
		return $this->Html->image($this->staticMapUrl($options + ['escape' => $escape]), $attributes);
	}
public function staticMap ( array $ options = [ ] , array $ attributes = [ ] ) { $ defaultAttributes = [ 'alt' => __d ( 'tools' , 'Map' ) ] ; $ attributes += $ defaultAttributes ; // This was fixed in 3.5.1 to auto-escape URL query strings for security reasons $ escape = version_compare ( Configure :: version ( ) , '3.5.1' ) < 0 ? true : false ; return $ this -> Html -> image ( $ this -> staticMapUrl ( $ options + [ 'escape' => $ escape ] ) , $ attributes ) ; }
Creates a plain image map.

@link http://code.google.com/intl/de-DE/apis/maps/documentation/staticmaps
@param array $options Options
- string $size [necessary: VALxVAL, e.g. 500x400 - max 640x640]
- string $center: x,y or address [necessary, if no markers are given; else tries to take defaults if available] or TRUE/FALSE
- int $zoom [optional; if no markers are given, default value is used; if set to "auto" and ]*
- array $markers [optional, @see staticPaths() method]
- string $type [optional: roadmap/hybrid, ...; default:roadmap]
- string $mobile TRUE/FALSE
- string $visible: $area (x|y|...)
- array $paths [optional, @see staticPaths() method]
- string $language [optional]
@param array $attributes HTML attributes for the image
- title
- alt (defaults to 'Map')
- url (tip: you can pass $this->link(...) and it will create a link to maps.google.com)
@return string imageTag
Creates a plain image map .