| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 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/amisdesseniors-fr/bordeaux/components/com_community/assets/app/dist/ |
Upload File : |
"use strict";(self.webpackChunkjoms=self.webpackChunkjoms||[]).push([[435],{4435:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var o=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"j-location-google",staticStyle:{height:"100%"},attrs:{id:"j-location-google-map"}})};o._withStripped=!0;const n={props:{latLon:{type:Array,default:function(){return[51.5,-.09]}}},data:function(){return{API:"https://maps.googleapis.com/maps/api/js?libraries=places&key="+window.joms_gmap_key,map:null,marker:{}}},mounted:function(){this.setMapView()},watch:{latLon:{deep:!0,handler:"setMapView"}},methods:{createMap:function(){var e=this;return new Promise((function(t,a){e.map?t():jQuery.ajax({url:e.API,dataType:"script",cache:!0}).done((function(){e.map=new google.maps.Map(document.getElementById("j-location-google-map"),{center:{lat:e.latLon[0],lng:e.latLon[1]},zoom:16,fullscreenControl:!1}),e.$emit("mapLoaded"),t()}))}))},setMapView:function(){var e=this;this.createMap().then((function(){var t={lat:e.latLon[0],lng:e.latLon[1]};e.map.setCenter(t),e.marker.setMap&&e.marker.setMap(null),e.marker=new google.maps.Marker({position:t,map:e.map})}))}}};var s=(0,a(4486).A)(n,o,[],!1,null,null,null);s.options.__file="src/views/postbox/_components/JLocationGoogle.vue";const l=s.exports}}]);