Palmrise Luxury Villas

var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/6070bf5b067c2605c0c0fb6d/1f2s6mvgd'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })();

Virtual Reception

// Add an event listener to the button document.getElementById('sharelocation').addEventListener('click', shareLocation); // Function to share the user's location function shareLocation() { // Check if the browser supports the Web Share API if (navigator.share) { // Get the user's current position navigator.geolocation.getCurrentPosition(showPosition); } else { console.log('Web Share API is not supported by this browser.'); } } // Callback function to handle the position function showPosition(position) { var latitude = position.coords.latitude; var longitude = position.coords.longitude; // Create the Google Maps URL with the location in "drive to" format var mapsUrl = 'https://www.google.com/maps/dir/?api=1&destination=' + latitude + ',' + longitude; // Use the Web Share API to trigger the share functionality navigator.share({ title: 'Drive to My Location', text: 'Let\'s go to my current location!', url: mapsUrl }) .then(function () { console.log('Location shared successfully.'); }) .catch(function (error) { console.log('Error sharing location:', error); }); }

Christos Papamichail

Dear Guest,
Welcome to Palmrise Luxury Villas. I will be your personal assistant. Feel free to contact me for any information!

Save contact