| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/www/cj79373/components/com_community/assets/app/dist/ |
Upload File : |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{169:function(t,e,a){"use strict";a.r(e);var s=function(){return(0,this._self._c)("div",{staticClass:"j-location-google",staticStyle:{height:"100%"},attrs:{id:"j-location-google-map"}})};s._withStripped=!0;var o={props:{latLon:{type:Array,default:()=>[51.5,-.09]}},data:()=>({API:"https://maps.googleapis.com/maps/api/js?libraries=places&key="+window.joms_gmap_key,map:null,marker:{}}),mounted(){this.setMapView()},watch:{latLon:{deep:!0,handler:"setMapView"}},methods:{createMap(){return new Promise((t,e)=>{this.map?t():jQuery.ajax({url:this.API,dataType:"script",cache:!0}).done(()=>{this.map=new google.maps.Map(document.getElementById("j-location-google-map"),{center:{lat:this.latLon[0],lng:this.latLon[1]},zoom:16,fullscreenControl:!1}),this.$emit("mapLoaded"),t()})})},setMapView(){this.createMap().then(()=>{const t={lat:this.latLon[0],lng:this.latLon[1]};this.map.setCenter(t),this.marker.setMap&&this.marker.setMap(null),this.marker=new google.maps.Marker({position:t,map:this.map})})}}},i=a(1),l=Object(i.a)(o,s,[],!1,null,null,null);e.default=l.exports}}]);