warmseal-roofing/js/google-map.min.js
Mark ebc25857dc Add minified JavaScript and CSS files, implement datepicker and carousel functionality
- Added minified versions of JavaScript files including main, script, google-map, bootstrap-datepicker, and jquery.easing.
- Implemented a datepicker for appointment dates and a timepicker for appointment times.
- Introduced a carousel feature for image display with automatic sliding and responsive behavior.
- Updated package.json to include scripts for minifying CSS and JS files, along with necessary dependencies.
2025-06-30 10:13:47 +01:00

1 line
644 B
JavaScript

var google;function init(){for(var e={zoom:7,center:new google.maps.LatLng(40.69847032728747,-73.9514422416687),scrollwheel:!1,styles:[{featureType:"administrative.country",elementType:"geometry",stylers:[{visibility:"simplified"},{hue:"#ff0000"}]}]},o=document.getElementById("map"),n=new google.maps.Map(o,e),t=["New York"],a=0;a<t.length;a++)$.getJSON("http://maps.googleapis.com/maps/api/geocode/json?address="+t[a]+"&sensor=false",null,function(e){e=e.results[0].geometry.location,e=new google.maps.LatLng(e.lat,e.lng);new google.maps.Marker({position:e,map:n,icon:"images/loc.png"})})}google.maps.event.addDomListener(window,"load",init);