浏览代码

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