Surfing in Portugal

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat

Sản phẩm này hiện đã hết hàng và không có sẵn.

SKU: Không áp dụng Danh mục:
Chat Zalo

0947973468

error: Content is protected !!
function getCurrentLocation() { const locationInput = document.getElementById("user-location"); const mapDiv = document.getElementById("map"); if (!navigator.geolocation) { alert("Trình duyệt không hỗ trợ định vị!"); return; } locationInput.value = "📡 Đang lấy vị trí..."; navigator.geolocation.getCurrentPosition( function (position) { const lat = position.coords.latitude.toFixed(6); const lng = position.coords.longitude.toFixed(6); locationInput.value = `Lat: ${lat}, Lng: ${lng}`; // Hiển thị bản đồ const map = new google.maps.Map(mapDiv, { center: { lat: parseFloat(lat), lng: parseFloat(lng) }, zoom: 15, }); new google.maps.Marker({ position: { lat: parseFloat(lat), lng: parseFloat(lng) }, map: map, title: "Vị trí của bạn", }); }, function (error) { locationInput.value = "❌ Không thể lấy vị trí!"; alert("Lỗi khi lấy vị trí: " + error.message); } ); }

(Bấm vào dấu X bên dưới để tắt quảng cáo)

(Bấm vào dấu X bên dưới để tắt quảng cáo)