@@ -34,151 +34,3 @@ $('.navbar-collapse ul li a').click(function() {
3434$ ( "a" ) . mouseup ( function ( ) {
3535 $ ( this ) . blur ( ) ;
3636} )
37-
38- // Google Maps Scripts
39- // When the window has finished loading create our google map below
40- google . maps . event . addDomListener ( window , 'load' , init ) ;
41-
42- function init ( ) {
43- // Basic options for a simple Google Map
44- // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
45- var mapOptions = {
46- // How zoomed in you want the map to start at (always required)
47- zoom : 15 ,
48-
49- // The latitude and longitude to center the map (always required)
50- center : new google . maps . LatLng ( 40.6700 , - 73.9400 ) , // New York
51-
52- // Disables the default Google Maps UI components
53- disableDefaultUI : true ,
54- scrollwheel : false ,
55- draggable : false ,
56-
57- // How you would like to style the map.
58- // This is where you would paste any style found on Snazzy Maps.
59- styles : [ {
60- "featureType" : "water" ,
61- "elementType" : "geometry" ,
62- "stylers" : [ {
63- "color" : "#000000"
64- } , {
65- "lightness" : 17
66- } ]
67- } , {
68- "featureType" : "landscape" ,
69- "elementType" : "geometry" ,
70- "stylers" : [ {
71- "color" : "#000000"
72- } , {
73- "lightness" : 20
74- } ]
75- } , {
76- "featureType" : "road.highway" ,
77- "elementType" : "geometry.fill" ,
78- "stylers" : [ {
79- "color" : "#000000"
80- } , {
81- "lightness" : 17
82- } ]
83- } , {
84- "featureType" : "road.highway" ,
85- "elementType" : "geometry.stroke" ,
86- "stylers" : [ {
87- "color" : "#000000"
88- } , {
89- "lightness" : 29
90- } , {
91- "weight" : 0.2
92- } ]
93- } , {
94- "featureType" : "road.arterial" ,
95- "elementType" : "geometry" ,
96- "stylers" : [ {
97- "color" : "#000000"
98- } , {
99- "lightness" : 18
100- } ]
101- } , {
102- "featureType" : "road.local" ,
103- "elementType" : "geometry" ,
104- "stylers" : [ {
105- "color" : "#000000"
106- } , {
107- "lightness" : 16
108- } ]
109- } , {
110- "featureType" : "poi" ,
111- "elementType" : "geometry" ,
112- "stylers" : [ {
113- "color" : "#000000"
114- } , {
115- "lightness" : 21
116- } ]
117- } , {
118- "elementType" : "labels.text.stroke" ,
119- "stylers" : [ {
120- "visibility" : "on"
121- } , {
122- "color" : "#000000"
123- } , {
124- "lightness" : 16
125- } ]
126- } , {
127- "elementType" : "labels.text.fill" ,
128- "stylers" : [ {
129- "saturation" : 36
130- } , {
131- "color" : "#000000"
132- } , {
133- "lightness" : 40
134- } ]
135- } , {
136- "elementType" : "labels.icon" ,
137- "stylers" : [ {
138- "visibility" : "off"
139- } ]
140- } , {
141- "featureType" : "transit" ,
142- "elementType" : "geometry" ,
143- "stylers" : [ {
144- "color" : "#000000"
145- } , {
146- "lightness" : 19
147- } ]
148- } , {
149- "featureType" : "administrative" ,
150- "elementType" : "geometry.fill" ,
151- "stylers" : [ {
152- "color" : "#000000"
153- } , {
154- "lightness" : 20
155- } ]
156- } , {
157- "featureType" : "administrative" ,
158- "elementType" : "geometry.stroke" ,
159- "stylers" : [ {
160- "color" : "#000000"
161- } , {
162- "lightness" : 17
163- } , {
164- "weight" : 1.2
165- } ]
166- } ]
167- } ;
168-
169- // Get the HTML DOM element that will contain your map
170- // We are using a div with id="map" seen below in the <body>
171- var mapElement = document . getElementById ( 'map' ) ;
172-
173- // Create the Google Map using out element and options defined above
174- var map = new google . maps . Map ( mapElement , mapOptions ) ;
175-
176- // Custom Map Marker Icon - Customize the map-marker.png file to customize your icon
177- var image = 'img/map-marker.png' ;
178- var myLatLng = new google . maps . LatLng ( 40.6700 , - 73.9400 ) ;
179- var beachMarker = new google . maps . Marker ( {
180- position : myLatLng ,
181- map : map ,
182- icon : image
183- } ) ;
184- }
0 commit comments