deteksi-badan-new/static/scripts/map.demo.min.js

2 lines
6.3 KiB
JavaScript

!function(e){"use strict";if(e("#map-default").length)var o=document.getElementById("map-default"),a={center:new google.maps.LatLng(51.508742,-.12085),zoom:5},t=new google.maps.Map(o,a);if(e("#map-marker").length){var o=document.getElementById("map-marker"),a={center:new google.maps.LatLng(51.508742,-.12085),zoom:5},g=new google.maps.Marker({position:new google.maps.LatLng(51.508742,-.12085),animation:google.maps.Animation.BOUNCE}),t=new google.maps.Map(o,a);g.setMap(t)}if(e("#map-poly").length){var n=new google.maps.LatLng(58.983991,5.734863),l=new google.maps.LatLng(52.395715,4.888916),p=new google.maps.LatLng(51.508742,-.12085),o=document.getElementById("map-poly"),a={center:l,zoom:4},t=new google.maps.Map(o,a),m=new google.maps.Polyline({path:[n,l,p],strokeColor:"#0000FF",strokeOpacity:.8,strokeWeight:2});m.setMap(t)}if(e("#map-polygon").length){var n=new google.maps.LatLng(58.983991,5.734863),l=new google.maps.LatLng(52.395715,4.888916),p=new google.maps.LatLng(51.508742,-.12085),o=document.getElementById("map-polygon"),a={center:l,zoom:4},t=new google.maps.Map(o,a),m=new google.maps.Polygon({path:[n,l,p],strokeColor:"#0000FF",strokeOpacity:.8,strokeWeight:2,fillColor:"#0000FF",fillOpacity:.4});m.setMap(t)}if(e("#map-circle").length){var l=new google.maps.LatLng(52.395715,4.888916),o=document.getElementById("map-circle"),a={center:l,zoom:7},t=new google.maps.Map(o,a),s=new google.maps.Circle({center:l,radius:5e4,strokeColor:"#0000FF",strokeOpacity:.8,strokeWeight:2,fillColor:"#0000FF",fillOpacity:.4});s.setMap(t)}if(e("#map-info").length){var r=new google.maps.LatLng(51.508742,-.12085),o=document.getElementById("map-info"),a={center:r,zoom:5},t=new google.maps.Map(o,a),g=new google.maps.Marker({position:r});g.setMap(t);var i=new google.maps.InfoWindow({content:"Hello World!"});i.open(t,g)}if(e("#map-hybrid").length)var o=document.getElementById("map-hybrid"),a={center:new google.maps.LatLng(51.508742,-.12085),zoom:5,mapTypeId:google.maps.MapTypeId.HYBRID},t=new google.maps.Map(o,a);if(e("#map-45").length)var o=document.getElementById("map-45"),a={center:new google.maps.LatLng(45.434046,12.340284),zoom:18,mapTypeId:google.maps.MapTypeId.HYBRID},t=new google.maps.Map(o,a);if(e("#map-light-dream").length){var r=new google.maps.LatLng(40.67,-73.94),a={zoom:11,center:new google.maps.LatLng(40.67,-73.94),styles:[{featureType:"landscape",stylers:[{hue:"#FFBB00"},{saturation:43.400000000000006},{lightness:37.599999999999994},{gamma:1}]},{featureType:"road.highway",stylers:[{hue:"#FFC200"},{saturation:-61.8},{lightness:45.599999999999994},{gamma:1}]},{featureType:"road.arterial",stylers:[{hue:"#FF0300"},{saturation:-100},{lightness:51.19999999999999},{gamma:1}]},{featureType:"road.local",stylers:[{hue:"#FF0300"},{saturation:-100},{lightness:52},{gamma:1}]},{featureType:"water",stylers:[{hue:"#0078FF"},{saturation:-13.200000000000003},{lightness:2.4000000000000057},{gamma:1}]},{featureType:"poi",stylers:[{hue:"#00FF6A"},{saturation:-1.0989010989011234},{lightness:11.200000000000017},{gamma:1}]}]},y=document.getElementById("map-light-dream"),t=new google.maps.Map(y,a),g=new google.maps.Marker({position:r});g.setMap(t)}if(e("#map-blue-essence").length){var r=new google.maps.LatLng(40.67,-73.94),a={zoom:11,center:new google.maps.LatLng(40.67,-73.94),styles:[{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{visibility:"on"},{color:"#e0efef"}]},{featureType:"poi",elementType:"geometry.fill",stylers:[{visibility:"on"},{hue:"#1900ff"},{color:"#c0e8e8"}]},{featureType:"road",elementType:"geometry",stylers:[{lightness:100},{visibility:"simplified"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{visibility:"on"},{lightness:700}]},{featureType:"water",elementType:"all",stylers:[{color:"#7dcdcd"}]}]},y=document.getElementById("map-blue-essence"),t=new google.maps.Map(y,a),g=new google.maps.Marker({position:r});g.setMap(t)}if(e("#map-midnight-commander").length){var r=new google.maps.LatLng(40.67,-73.94),a={zoom:11,center:new google.maps.LatLng(40.67,-73.94),styles:[{featureType:"all",elementType:"labels.text.fill",stylers:[{color:"#ffffff"}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{color:"#000000"},{lightness:13}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#144b53"},{lightness:14},{weight:1.4}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#08304b"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#0c4152"},{lightness:5}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#0b434f"},{lightness:25}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#000000"}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{color:"#0b3d51"},{lightness:16}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"transit",elementType:"all",stylers:[{color:"#146474"}]},{featureType:"water",elementType:"all",stylers:[{color:"#021019"}]}]},y=document.getElementById("map-midnight-commander"),t=new google.maps.Map(y,a),g=new google.maps.Marker({position:r});g.setMap(t)}if(e("#map-flat").length){var r=new google.maps.LatLng(40.67,-73.94),a={zoom:11,center:new google.maps.LatLng(40.67,-73.94),styles:[{featureType:"all",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"on"},{color:"#f3f4f4"}]},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{weight:.9},{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{visibility:"on"},{color:"#83cead"}]},{featureType:"road",elementType:"all",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"on"},{color:"#fee379"}]},{featureType:"road.arterial",elementType:"all",stylers:[{visibility:"on"},{color:"#fee379"}]},{featureType:"water",elementType:"all",stylers:[{visibility:"on"},{color:"#7fc8ed"}]}]},y=document.getElementById("map-flat"),t=new google.maps.Map(y,a),g=new google.maps.Marker({position:r});g.setMap(t)}}(jQuery);