From b4dd8606005f281eec91c342bc8aa189bf1cda8c Mon Sep 17 00:00:00 2001
From: RandomChars <random@chars.jp>
Date: Wed, 15 Dec 2021 23:11:12 +0900
Subject: [PATCH] remove map stuff that doesn't seem to be useful, still need
 confirmation from levatax

---
 assets/templates/form.tmpl              | 98 ------------------------
 assets/templates/tournament-config.tmpl | 99 -------------------------
 2 files changed, 197 deletions(-)

diff --git a/assets/templates/form.tmpl b/assets/templates/form.tmpl
index 652b9fa..3891641 100644
--- a/assets/templates/form.tmpl
+++ b/assets/templates/form.tmpl
@@ -50,102 +50,4 @@
     <!-- contact-area-end -->
 </main>
 <!-- main-area-end -->
-<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCIJ_QKHN-bi6_1C9f5eYE3pZs1zhQIo5o"></script>
-<script>
-    function basicmap() {
-        // Basic options for a simple Google Map
-        // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
-        var mapOptions = {
-            // How zoomed in you want the map to start at (always required)
-            zoom: 11,
-            scrollwheel: false,
-            // The latitude and longitude to center the map (always required)
-            center: new google.maps.LatLng(40.6700, -73.9400), // New York
-            // This is where you would paste any style found on Snazzy Maps.
-            styles: [{
-                "featureType": "all",
-                "elementType": "geometry.fill",
-                "stylers": [{"weight": "2.00"}]
-            }, {
-                "featureType": "all",
-                "elementType": "geometry.stroke",
-                "stylers": [{"color": "#9c9c9c"}]
-            }, {
-                "featureType": "all",
-                "elementType": "labels.text",
-                "stylers": [{"visibility": "on"}]
-            }, {
-                "featureType": "landscape",
-                "elementType": "all",
-                "stylers": [{"color": "#f2f2f2"}]
-            }, {
-                "featureType": "landscape",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#ffffff"}]
-            }, {
-                "featureType": "landscape.man_made",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#ffffff"}]
-            }, {"featureType": "poi", "elementType": "all", "stylers": [{"visibility": "off"}]}, {
-                "featureType": "road",
-                "elementType": "all",
-                "stylers": [{"saturation": -100}, {"lightness": 45}]
-            }, {
-                "featureType": "road",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#eeeeee"}]
-            }, {
-                "featureType": "road",
-                "elementType": "labels.text.fill",
-                "stylers": [{"color": "#7b7b7b"}]
-            }, {
-                "featureType": "road",
-                "elementType": "labels.text.stroke",
-                "stylers": [{"color": "#ffffff"}]
-            }, {
-                "featureType": "road.highway",
-                "elementType": "all",
-                "stylers": [{"visibility": "simplified"}]
-            }, {
-                "featureType": "road.arterial",
-                "elementType": "labels.icon",
-                "stylers": [{"visibility": "off"}]
-            }, {
-                "featureType": "transit",
-                "elementType": "all",
-                "stylers": [{"visibility": "off"}]
-            }, {
-                "featureType": "water",
-                "elementType": "all",
-                "stylers": [{"color": "#46bcec"}, {"visibility": "on"}]
-            }, {
-                "featureType": "water",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#c8d7d4"}]
-            }, {
-                "featureType": "water",
-                "elementType": "labels.text.fill",
-                "stylers": [{"color": "#070707"}]
-            }, {"featureType": "water", "elementType": "labels.text.stroke", "stylers": [{"color": "#ffffff"}]}]
-        };
-        // Get the HTML DOM element that will contain your map
-        // We are using a div with id="map" seen below in the <body>
-        var mapElement = document.getElementById('contact-map');
-
-        // Create the Google Map using our element and options defined above
-        var map = new google.maps.Map(mapElement, mapOptions);
-
-        // Let's also add a marker while we're at it
-        var marker = new google.maps.Marker({
-            position: new google.maps.LatLng(40.6700, -73.9400),
-            map: map,
-            icon: 'assets/img/icon/map_marker.png',
-            title: 'Geco'
-        });
-    }
-
-    if ($('#contact-map').length != 0) {
-        google.maps.event.addDomListener(window, 'load', basicmap);
-    }
-</script>
 {{template "bottom"}}
diff --git a/assets/templates/tournament-config.tmpl b/assets/templates/tournament-config.tmpl
index e08207b..cdcdcd6 100644
--- a/assets/templates/tournament-config.tmpl
+++ b/assets/templates/tournament-config.tmpl
@@ -65,103 +65,4 @@
     <!-- contact-area-end -->
 </main>
 <!-- main-area-end -->
-
-<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCIJ_QKHN-bi6_1C9f5eYE3pZs1zhQIo5o"></script>
-<script>
-    function basicmap() {
-        // Basic options for a simple Google Map
-        // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
-        var mapOptions = {
-            // How zoomed in you want the map to start at (always required)
-            zoom: 11,
-            scrollwheel: false,
-            // The latitude and longitude to center the map (always required)
-            center: new google.maps.LatLng(40.6700, -73.9400), // New York
-            // This is where you would paste any style found on Snazzy Maps.
-            styles: [{
-                "featureType": "all",
-                "elementType": "geometry.fill",
-                "stylers": [{"weight": "2.00"}]
-            }, {
-                "featureType": "all",
-                "elementType": "geometry.stroke",
-                "stylers": [{"color": "#9c9c9c"}]
-            }, {
-                "featureType": "all",
-                "elementType": "labels.text",
-                "stylers": [{"visibility": "on"}]
-            }, {
-                "featureType": "landscape",
-                "elementType": "all",
-                "stylers": [{"color": "#f2f2f2"}]
-            }, {
-                "featureType": "landscape",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#ffffff"}]
-            }, {
-                "featureType": "landscape.man_made",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#ffffff"}]
-            }, {"featureType": "poi", "elementType": "all", "stylers": [{"visibility": "off"}]}, {
-                "featureType": "road",
-                "elementType": "all",
-                "stylers": [{"saturation": -100}, {"lightness": 45}]
-            }, {
-                "featureType": "road",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#eeeeee"}]
-            }, {
-                "featureType": "road",
-                "elementType": "labels.text.fill",
-                "stylers": [{"color": "#7b7b7b"}]
-            }, {
-                "featureType": "road",
-                "elementType": "labels.text.stroke",
-                "stylers": [{"color": "#ffffff"}]
-            }, {
-                "featureType": "road.highway",
-                "elementType": "all",
-                "stylers": [{"visibility": "simplified"}]
-            }, {
-                "featureType": "road.arterial",
-                "elementType": "labels.icon",
-                "stylers": [{"visibility": "off"}]
-            }, {
-                "featureType": "transit",
-                "elementType": "all",
-                "stylers": [{"visibility": "off"}]
-            }, {
-                "featureType": "water",
-                "elementType": "all",
-                "stylers": [{"color": "#46bcec"}, {"visibility": "on"}]
-            }, {
-                "featureType": "water",
-                "elementType": "geometry.fill",
-                "stylers": [{"color": "#c8d7d4"}]
-            }, {
-                "featureType": "water",
-                "elementType": "labels.text.fill",
-                "stylers": [{"color": "#070707"}]
-            }, {"featureType": "water", "elementType": "labels.text.stroke", "stylers": [{"color": "#ffffff"}]}]
-        };
-        // Get the HTML DOM element that will contain your map
-        // We are using a div with id="map" seen below in the <body>
-        var mapElement = document.getElementById('contact-map');
-
-        // Create the Google Map using our element and options defined above
-        var map = new google.maps.Map(mapElement, mapOptions);
-
-        // Let's also add a marker while we're at it
-        var marker = new google.maps.Marker({
-            position: new google.maps.LatLng(40.6700, -73.9400),
-            map: map,
-            icon: 'img/icon/map_marker.png',
-            title: 'Geco'
-        });
-    }
-
-    if ($('#contact-map').length != 0) {
-        google.maps.event.addDomListener(window, 'load', basicmap);
-    }
-</script>
 {{template "bottom"}}
-- 
GitLab