Skip to content
Permalink
Browse files

Adds key for waterfall map

  • Loading branch information...
jacobemerick committed May 31, 2019
1 parent bff11b8 commit 17572603c1d3078694678c78c06418eca23b3337
Showing with 3 additions and 1 deletion.
  1. +3 −1 controller/waterfalls/MapController.class.inc.php
@@ -10,6 +10,8 @@ final class MapController extends DefaultPageController
private static $DESCRIPTION = '';
private static $KEYWORD_ARRAY = array();
private static $API_KEY = 'AIzaSyA3eWALjUTSIa44KsbOUYRpG0oMd3aNo00';
private static $HIDE_ON_INITIAL_LOAD_LIST = array(
'Lower Tahquamenon Falls',
'Rainbow Falls',
@@ -21,7 +23,7 @@ public function __construct()
{
parent::__construct();
$this->add_js('https://maps.googleapis.com/maps/api/js?sensor=false');
$this->add_js("https://maps.googleapis.com/maps/api/js?key={$API_KEY}&sensor=false");
$this->add_waterfall_js();
}

0 comments on commit 1757260

Please sign in to comment.
You can’t perform that action at this time.