GoogleMaps.php
public static function map($options = null)
	{
		if (empty(self::$_google)) {
			self::$_google = new GoogleMapAPI();
			self::$_google->_minify_js = false;

			// Apply options
			if (is_array($options)) {
				foreach ($options as $key => $value) {
					self::$_google->$key = $value;
				}
			};
		}

		return self::$_google;
	}
public static function map($options = null)
	{
		if (empty(self::$_google)) {
			self::$_google = new GoogleMapAPI();
			self::$_google->_minify_js = false;

			// Apply options
			if (is_array($options)) {
				foreach ($options as $key => $value) {
					self::$_google->$key = $value;
				}
			};
		}

		return self::$_google;
	}
public static function map ( $ options = null ) { if ( empty ( self :: $ _google ) ) { self :: $ _google = new GoogleMapAPI ( ) ; self :: $ _google -> _minify_js = false ; // Apply options
 if ( is_array ( $ options ) ) { foreach ( $ options as $ key => $ value ) { self :: $ _google -> $ key = $ value ; } } ; } return self :: $ _google ; }
Returns GoogleMaps instance to work with

@param mixed $options Map options array
@return GoogleMapAPI
Returns GoogleMaps instance to work with