Skip to content
Snippets Groups Projects
Commit b4dd8606 authored by Ophestra's avatar Ophestra
Browse files

remove map stuff that doesn't seem to be useful, still need confirmation from levatax

parent 659723d8
No related branches found
No related tags found
No related merge requests found
......@@ -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"}}
......@@ -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"}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment