ソースを参照

Add open option for markers and cleanup.

euromark 12 年 前
コミット
a4897b6377
2 ファイル変更243 行追加198 行削除
  1. 2 2
      Test/Case/View/Helper/GoogleMapV3HelperTest.php
  2. 241 196
      View/Helper/GoogleMapV3Helper.php

+ 2 - 2
Test/Case/View/Helper/GoogleMapV3HelperTest.php

@@ -307,8 +307,8 @@ class GoogleMapV3HelperTest extends MyCakeTestCase {
 	public function testDynamic3() {
 		//echo '<h2>Map with Directions</h2>';
 		$options = array(
-			'zoom'=>5,
-			'type'=>'H',
+			'zoom' => 5,
+			'type' => 'H',
 			'map' => array()
 		);
 		//echo $this->GoogleMapV3->map($options);

ファイルの差分が大きいため隠しています
+ 241 - 196
View/Helper/GoogleMapV3Helper.php