Colachel is a coastal village with historic beach at a distance of 30 kms. from Kanniyakumari. It is a Red Sandy beach with the lush green Palm groves forms formidable boundary. Colachel holds a historic event.
📷 Image Gallery
×
const images = ["https://cdn.s3waas.gov.in/s38fe0093bb30d6f8c31474bd0764e6ac0/uploads/2025/05/2025051738-scaled-e1747476218350.jpg", "https://cdn.s3waas.gov.in/s38fe0093bb30d6f8c31474bd0764e6ac0/uploads/2025/05/2025051738-scaled-e1747476218350.jpg"];
let currentIndex = 0;
function openModal(i) {
currentIndex = i;
document.getElementById('modalImage').src = images[i];
document.getElementById('imageModal').style.display = 'flex';
}
function closeModal() {
document.getElementById('imageModal').style.display = 'none';
}
function nextImage() {
currentIndex = (currentIndex + 1) % images.length;
document.getElementById('modalImage').src = images[currentIndex];
}
function prevImage() {
currentIndex = (currentIndex - 1 + images.length) % images.length;
document.getElementById('modalImage').src = images[currentIndex];
}
function getLocationAndRedirect() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
const lat = position.coords.latitude;
const lon = position.coords.longitude;
const url = `https://www.google.com/maps/dir/?api=1&origin=${lat},${lon}&destination=` + encodeURIComponent("Colachel Beach, Colachel, Tamil Nadu 629251");
window.location.href = url;
}, function() {
alert("Could not get location");
});
}
}