-google.maps.event.addDomListener(window, 'load', init);
-
-var map;
-
-function init() {
- var mapOptions = {
- center: new google.maps.LatLng(29.7063428,-95.40526,17),
- zoom: 17,
- zoomControl: true,
- zoomControlOptions: {
- style: google.maps.ZoomControlStyle.SMALL,
- },
- disableDoubleClickZoom: true,
- mapTypeControl: true,
- mapTypeControlOptions: {
- style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
- },
- scaleControl: false,
- scrollwheel: true,
- streetViewControl: true,
- draggable : true,
- overviewMapControl: false,
- mapTypeId: google.maps.MapTypeId.ROADMAP,
- 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: "administrative.locality",
- stylers: [
- { visibility: "off" }
- ]
- },{
- featureType: "administrative.neighborhood",
- stylers: [
- { visibility: "on" }
- ]
- /**/
- },{
- featureType: "water",
- elementType: "labels",
- stylers: [
- { visibility: "on" },
- { lightness: -25 },
- { saturation: -100 }
- ]
- },{
- featureType: "water",
- elementType: "geometry",
- stylers: [
- { hue: "#ffff00" },
- { lightness: -25 },
- { saturation: -97 }
- ]
- }
- ],
-
- }
-
- var mapElement = document.getElementById('map');
- var map = new google.maps.Map(mapElement, mapOptions);
- var locations = [
-
- ];
-
- for (i = 0; i < locations.length; i++) {
- marker = new google.maps.Marker({
- icon: '',
- position: new google.maps.LatLng(locations[i][1], locations[i][2]),
- map: map
- });
- }
-}
+google.maps.event.addDomListener(window, 'load', init);\r
+\r
+var map;\r
+\r
+function init() {\r
+ var mapOptions = {\r
+ center: new google.maps.LatLng(29.7063428,-95.40526,17),\r
+ zoom: 17,\r
+ zoomControl: true,\r
+ zoomControlOptions: {\r
+ style: google.maps.ZoomControlStyle.SMALL,\r
+ },\r
+ disableDoubleClickZoom: true,\r
+ mapTypeControl: true,\r
+ mapTypeControlOptions: {\r
+ style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,\r
+ },\r
+ scaleControl: false,\r
+ scrollwheel: true,\r
+ streetViewControl: true,\r
+ draggable : true,\r
+ overviewMapControl: false,\r
+ mapTypeId: google.maps.MapTypeId.ROADMAP,\r
+ styles: [\r
+ {\r
+ featureType: "landscape",\r
+ stylers: [\r
+ { saturation: -100 },\r
+ { lightness: 65 },\r
+ { visibility: "on" }\r
+ ]\r
+ },{\r
+ featureType: "poi",\r
+ stylers: [\r
+ { saturation: -100 },\r
+ { lightness: 51 },\r
+ { visibility: "simplified" }\r
+ ]\r
+ },{\r
+ featureType: "road.highway",\r
+ stylers: [\r
+ { saturation: -100 },\r
+ { visibility: "simplified" }\r
+ ]\r
+ },{\r
+ featureType: "road.arterial",\r
+ stylers: [\r
+ { saturation: -100 },\r
+ { lightness: 30 },\r
+ { visibility: "on" }\r
+ ]\r
+ },{\r
+ featureType: "road.local",\r
+ stylers: [\r
+ { saturation: -100 },\r
+ { lightness: 40 },\r
+ { visibility: "on" }\r
+ ]\r
+ },{\r
+ featureType: "transit",\r
+ stylers: [\r
+ { saturation: -100 },\r
+ { visibility: "simplified" }\r
+ ]\r
+ },{\r
+ featureType: "administrative.province",\r
+ stylers: [\r
+ { visibility: "off" }\r
+ ]\r
+ /** /\r
+ },{\r
+ featureType: "administrative.locality",\r
+ stylers: [\r
+ { visibility: "off" }\r
+ ]\r
+ },{\r
+ featureType: "administrative.neighborhood",\r
+ stylers: [\r
+ { visibility: "on" }\r
+ ]\r
+ /**/\r
+ },{\r
+ featureType: "water",\r
+ elementType: "labels",\r
+ stylers: [\r
+ { visibility: "on" },\r
+ { lightness: -25 },\r
+ { saturation: -100 }\r
+ ]\r
+ },{\r
+ featureType: "water",\r
+ elementType: "geometry",\r
+ stylers: [\r
+ { hue: "#ffff00" },\r
+ { lightness: -25 },\r
+ { saturation: -97 }\r
+ ]\r
+ }\r
+ ],\r
+ \r
+ }\r
+\r
+ var mapElement = document.getElementById('map');\r
+ var map = new google.maps.Map(mapElement, mapOptions);\r
+ var locations = [\r
+ \r
+ ];\r
+\r
+ for (i = 0; i < locations.length; i++) {\r
+ marker = new google.maps.Marker({\r
+ icon: '',\r
+ position: new google.maps.LatLng(locations[i][1], locations[i][2]),\r
+ map: map\r
+ });\r
+ }\r
+}\r