When i add this function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
function showPosition(position) {
x.innerHTML = "Latitude: " + position.coords.latitude +
"<br>Longitude: " + position.coords.longitude;
}
code in any nopCommerce project it gives me error
--Error
1.Geolocation has been disabled in this document by Feature Policy.-
2.PERMISSION_DENIED: 1
Only not support in nopcommerce project any idea how to i use this in nopcommerce
Please help me