diff --git a/config/trackdirect.ini b/config/trackdirect.ini index ac40126..9bea999 100644 --- a/config/trackdirect.ini +++ b/config/trackdirect.ini @@ -7,6 +7,8 @@ title="APRS Track Direct" owner_name="Unknown" owner_email="no@name.com" +;maptiler_key="" +;google_key="" [database] diff --git a/htdocs/public/index.php b/htdocs/public/index.php index cb6639f..253486d 100755 --- a/htdocs/public/index.php +++ b/htdocs/public/index.php @@ -37,8 +37,8 @@ $REQUEST_PROTOCOL = $isSecure ? 'https' : 'http'; - - + + @@ -116,8 +116,7 @@ $REQUEST_PROTOCOL = $isSecure ? 'https' : 'http'; console.log('Failed to fetch location, using default location'); }).always(function() { - var maptilerKey = ''; - options['mapboxGLStyle'] = 'https://api.maptiler.com/maps/bright/style.json?optimize=true&key=' + maptilerKey; + options['mapboxGLStyle'] = "https://api.maptiler.com/maps/bright/style.json?optimize=true&key="; options['mapboxGLAttribution'] = 'Map © MapTiler, OpenStreetMap contributors'; @@ -204,9 +203,13 @@ $REQUEST_PROTOCOL = $isSecure ? 'https' : 'http';