⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.101
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
skvinfotech.com
/
public
/
assets
/
js
/
pages
/
View File Name :
be_comp_maps_google.min.js
/*! * oneui - v4.8.0 * @author pixelcave - https://pixelcave.com * Copyright (c) 2020 */ !function(){function e(e,a){for(var n=0;n<a.length;n++){var t=a[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}var a=function(){function a(){!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,a)}var n,t;return n=a,t=[{key:"initMapSearch",value:function(){if(jQuery("#js-map-search").length){var e=new GMaps({div:"#js-map-search",lat:20,lng:0,zoom:2,scrollwheel:!1});jQuery(".js-form-search").on("submit",(function(a){var n=jQuery(".js-search-address").parent(".input-group");return GMaps.geocode({address:jQuery(".js-search-address").val().trim(),callback:function(a,t){if("OK"===t&&a){var r=a[0].geometry.location;e.removeMarkers(),e.addMarker({lat:r.lat(),lng:r.lng()}),e.fitBounds(a[0].geometry.viewport),n.siblings(".form-text").remove()}else n.after('<div class="font-text text-danger text-center animated fadeInDown">Address not found!</div>')}}),!1}))}}},{key:"initMapSat",value:function(){jQuery("#js-map-sat").length&&new GMaps({div:"#js-map-sat",lat:0,lng:0,zoom:2,scrollwheel:!1}).setMapTypeId(google.maps.MapTypeId.SATELLITE)}},{key:"initMapTer",value:function(){jQuery("#js-map-ter").length&&new GMaps({div:"#js-map-ter",lat:0,lng:0,zoom:2,scrollwheel:!1}).setMapTypeId(google.maps.MapTypeId.TERRAIN)}},{key:"initMapOverlay",value:function(){jQuery("#js-map-overlay").length&&new GMaps({div:"#js-map-overlay",lat:37.7577,lng:-122.4376,zoom:11,scrollwheel:!1}).drawOverlay({lat:37.7577,lng:-122.4376,content:'<div class="alert alert-warning text-center" style="width: 220px;"><h4 class="alert-heading mb-2">Message Title</h4><p class="font-size-sm mb-0">You can overlay messages on your maps!</p></div>'})}},{key:"initMapMarkers",value:function(){jQuery("#js-map-markers").length&&new GMaps({div:"#js-map-markers",lat:37.7577,lng:-122.4376,zoom:11,scrollwheel:!1}).addMarkers([{lat:37.7,lng:-122.49,title:"Marker #1",animation:google.maps.Animation.DROP,infoWindow:{content:"<strong>Marker #1</strong>"}},{lat:37.76,lng:-122.46,title:"Marker #2",animation:google.maps.Animation.DROP,infoWindow:{content:"<strong>Marker #2</strong>"}},{lat:37.72,lng:-122.41,title:"Marker #3",animation:google.maps.Animation.DROP,infoWindow:{content:"<strong>Marker #3</strong>"}},{lat:37.78,lng:-122.39,title:"Marker #4",animation:google.maps.Animation.DROP,infoWindow:{content:"<strong>Marker #4</strong>"}},{lat:37.74,lng:-122.46,title:"Marker #5",animation:google.maps.Animation.DROP,infoWindow:{content:"<strong>Marker #5</strong>"}}])}},{key:"init",value:function(){this.initMapSearch(),this.initMapSat(),this.initMapTer(),this.initMapOverlay(),this.initMapMarkers()}}],null&&e(n.prototype,null),t&&e(n,t),a}();jQuery((function(){a.init()}))}();