diff --git a/_includes/head.html b/_includes/head.html index 7b4293f80135e9f812e29692c0d01a6065811d8b..df31601f2f5f242a6c75eda0397fcf445513fa4e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -17,7 +17,6 @@ <link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css" /> <!-- Js --> -<script src="/js/vendor/modernizr-2.6.2.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script> <script src="{{ site.baseurl }}/js/bootstrap.min.js"></script> @@ -26,9 +25,5 @@ <script src="{{ site.baseurl }}/js/min/waypoints.min.js"></script> <script src="{{ site.baseurl }}/js/jquery.counterup.js"></script> -<!-- Google Map --> -<script src="https://maps.googleapis.com/maps/api/js"></script> -<script src="{{ site.baseurl }}/js/google-map-init.js"></script> - <script src="{{ site.baseurl }}/js/main.js"></script> diff --git a/contact.html b/contact.html index 83c3f0f523376ec2a80f21a8884d06af78f7b597..c84bb4944d65eae0a226d0d74f894d583361a682 100755 --- a/contact.html +++ b/contact.html @@ -92,7 +92,7 @@ permalink: /contact/ <div class="block"> <h2>We Also Count In Google Map</h2> <div class="google-map"> - <div id="map"></div> + <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3022.472979439986!2d-73.97769068489596!3d40.7516207793276!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c2590247c56379%3A0x15e13bea38b43e18!2sChrysler+Building!5e0!3m2!1sen!2sus!4v1477406538220" width="555" height="300" frameborder="0" style="border:0" allowfullscreen></iframe> </div> </div> </div> diff --git a/js/google-map-init.js b/js/google-map-init.js deleted file mode 100755 index 85cf4dabd12cf806644ce8c01c0022916774051b..0000000000000000000000000000000000000000 --- a/js/google-map-init.js +++ /dev/null @@ -1,137 +0,0 @@ -jQuery(document).ready(function() { - "use strict"; - - - function b() { - var a = { - zoom: 11, - scrollwheel: false, - center: new google.maps.LatLng(40.67, -73.94), - styles: [{ - "featureType": "landscape", - "stylers": [ - { - "saturation": -100 - }, - { - "lightness": 65 - }, - { - "visibility": "on" - } - ] - }, - { - "featureType": "poi", - "stylers": [ - { - "saturation": -100 - }, - { - "lightness": 51 - }, - { - "visibility": "simplified" - } - ] - }, - { - "featureType": "road.highway", - "stylers": [ - { - "saturation": -100 - }, - { - "visibility": "simplified" - } - ] - }, - { - "featureType": "road.arterial", - "stylers": [ - { - "saturation": -100 - }, - { - "lightness": 30 - }, - { - "visibility": "on" - } - ] - }, - { - "featureType": "road.local", - "stylers": [ - { - "saturation": -100 - }, - { - "lightness": 40 - }, - { - "visibility": "on" - } - ] - }, - { - "featureType": "transit", - "stylers": [ - { - "saturation": -100 - }, - { - "visibility": "simplified" - } - ] - }, - { - "featureType": "administrative.province", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "water", - "elementType": "labels", - "stylers": [ - { - "visibility": "on" - }, - { - "lightness": -25 - }, - { - "saturation": -100 - } - ] - }, - { - "featureType": "water", - "elementType": "geometry", - "stylers": [ - { - "hue": "#ffff00" - }, - { - "lightness": -25 - }, - { - "saturation": -97 - } - ] - }] - }, - b = document.getElementById("map"), - c = new google.maps.Map(b, a); - new google.maps.Marker({ - position: new google.maps.LatLng(40.67, -73.94), - map: c, - title: "Snazzy!" - }) - } - google.maps.event.addDomListener(window, "load", b); - -}); \ No newline at end of file