diff --git a/apps/pc_frontend/modules/googlemaps/actions/actions.class.php b/apps/pc_frontend/modules/googlemaps/actions/actions.class.php index 86378c7..ee5c9ae 100644 --- a/apps/pc_frontend/modules/googlemaps/actions/actions.class.php +++ b/apps/pc_frontend/modules/googlemaps/actions/actions.class.php @@ -17,14 +17,14 @@ class googlemapsActions extends sfActions */ public function executeIndex(sfWebRequest $request) { - $this->mapType = 'G_NORMAL_MAP'; + $this->mapType = 'ROADMAP'; switch ($request->getParameter('t')) { case 'k': - $this->mapType = 'G_SATELLITE_MAP'; + $this->mapType = 'SATELLITE'; break; case 'h': - $this->mapType = 'G_HYBRID_MAP'; + $this->mapType = 'HYBRID'; break; } } diff --git a/apps/pc_frontend/modules/googlemaps/templates/indexSuccess.php b/apps/pc_frontend/modules/googlemaps/templates/indexSuccess.php index 558334b..614e7a0 100644 --- a/apps/pc_frontend/modules/googlemaps/templates/indexSuccess.php +++ b/apps/pc_frontend/modules/googlemaps/templates/indexSuccess.php @@ -6,9 +6,10 @@ <?php echo ($op_config['sns_title']) ? $op_config['sns_title'] : $op_config['sns_name'] ?> get('pc_html_head') ?> - - - + + + + - - - +
diff --git a/web/cmd/maps.google.co.jp.js b/web/cmd/maps.google.co.jp.js index a38b2c1..99ede78 100644 --- a/web/cmd/maps.google.co.jp.js +++ b/web/cmd/maps.google.co.jp.js @@ -1,6 +1,6 @@ function url2cmd(url, googlemapsUrl) { - var maps_google_co_jp_maps = url.match(/^http:\/\/maps\.google\.co\.jp\/maps\?(.+)/); - var maps_google_co_jp = url.match(/^http:\/\/maps\.google\.co\.jp\/\?(.+)/); + var maps_google_co_jp_maps = url.match(/^https?:\/\/maps\.google\.co\.jp\/maps\?(.+)/); + var maps_google_co_jp = url.match(/^https?:\/\/maps\.google\.co\.jp\/\?(.+)/); if (maps_google_co_jp_maps || maps_google_co_jp) { var id = RegExp.$1; diff --git a/web/cmd/maps.google.com.js b/web/cmd/maps.google.com.js index 9de34e3..4e8eee5 100644 --- a/web/cmd/maps.google.com.js +++ b/web/cmd/maps.google.com.js @@ -1,6 +1,6 @@ function url2cmd(url, googlemapsUrl) { - var maps_google_com_maps = url.match(/^http:\/\/maps\.google\.com\/maps\?(.+)/); - var maps_google_com = url.match(/^http:\/\/maps\.google\.com\/\?(.+)/); + var maps_google_com_maps = url.match(/^https?:\/\/maps\.google\.com\/maps\?(.+)/); + var maps_google_com = url.match(/^https?\/\/maps\.google\.com\/\?(.+)/); if (maps_google_com_maps || maps_google_com) { var id = RegExp.$1;