Skip to content

Commit

Permalink
Merge pull request #1655 from neeraj10122004/main
Browse files Browse the repository at this point in the history
feat: Added more locations in view page
  • Loading branch information
apu52 authored Dec 7, 2024
2 parents fb183f3 + 3d1540d commit 95a0390
Showing 1 changed file with 56 additions and 4 deletions.
60 changes: 56 additions & 4 deletions mapa.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,68 @@
attribution: '© OpenStreetMap contributors',
}).addTo(map);

// Add a marker for a tourism site (e.g., Taj Mahal)
const marker = L.marker([27.1751, 78.0421]).addTo(map);
marker.bindPopup('<b>Taj Mahal</b><br>A UNESCO World Heritage Site.').openPopup();
const TajMahal = L.marker([27.1751, 78.0421]).addTo(map);
TajMahal.bindPopup('<b>Taj Mahal</b><br>A UNESCO World Heritage Site.').openPopup();

// Add more markers as needed for other sites
const qutubMinar = L.marker([28.5245, 77.1855]).addTo(map);
qutubMinar.bindPopup('<b>Qutub Minar</b><br>A historical monument in Delhi.');

const gatewayOfIndia = L.marker([18.922, 72.8347]).addTo(map);
gatewayOfIndia.bindPopup('<b>Gateway of India</b><br>Iconic tourist attraction in Mumbai.');

const redFort = L.marker([28.6562, 77.2410]).addTo(map);
redFort.bindPopup('<b>Red Fort</b><br>A UNESCO World Heritage Site in Delhi.');

const hawaMahal = L.marker([26.9239, 75.8267]).addTo(map);
hawaMahal.bindPopup('<b>Hawa Mahal</b><br>The Palace of Winds in Jaipur.');

const charminar = L.marker([17.3616, 78.4747]).addTo(map);
charminar.bindPopup('<b>Charminar</b><br>A historic monument in Hyderabad.');

const mysorePalace = L.marker([12.3052, 76.6551]).addTo(map);
mysorePalace.bindPopup('<b>Mysore Palace</b><br>A majestic palace in Mysore.');

const victoriaMemorial = L.marker([22.5448, 88.3426]).addTo(map);
victoriaMemorial.bindPopup('<b>Victoria Memorial</b><br>A museum and tourist attraction in Kolkata.');

const konarkSunTemple = L.marker([19.8876, 86.0945]).addTo(map);
konarkSunTemple.bindPopup('<b>Konark Sun Temple</b><br>A 13th-century Sun temple in Odisha.');

const golkondaFort = L.marker([17.3833, 78.4011]).addTo(map);
golkondaFort.bindPopup('<b>Golkonda Fort</b><br>A historic fortress near Hyderabad.');

const kochiFort = L.marker([9.9665, 76.2426]).addTo(map);
kochiFort.bindPopup('<b>Fort Kochi</b><br>A historic area known for its colonial charm in Kerala.');

const eiffelTower = L.marker([48.8584, 2.2945]).addTo(map);
eiffelTower.bindPopup('<b>Eiffel Tower</b><br>An iconic landmark in Paris, France.');

const statueOfLiberty = L.marker([40.6892, -74.0445]).addTo(map);
statueOfLiberty.bindPopup('<b>Statue of Liberty</b><br>A symbol of freedom in New York City, USA.');

const greatWall = L.marker([40.4319, 116.5704]).addTo(map);
greatWall.bindPopup('<b>Great Wall of China</b><br>A historic wonder in Beijing, China.');

const christRedeemer = L.marker([-22.9519, -43.2105]).addTo(map);
christRedeemer.bindPopup('<b>Christ the Redeemer</b><br>A famous statue in Rio de Janeiro, Brazil.');

const sydneyOperaHouse = L.marker([-33.8568, 151.2153]).addTo(map);
sydneyOperaHouse.bindPopup('<b>Sydney Opera House</b><br>A world-famous architectural marvel in Sydney, Australia.');

const pyramidsGiza = L.marker([29.9792, 31.1342]).addTo(map);
pyramidsGiza.bindPopup('<b>Pyramids of Giza</b><br>An ancient wonder in Cairo, Egypt.');

const machuPicchu = L.marker([-13.1631, -72.5450]).addTo(map);
machuPicchu.bindPopup('<b>Machu Picchu</b><br>An Incan citadel in the Andes Mountains, Peru.');

const colosseum = L.marker([41.8902, 12.4922]).addTo(map);
colosseum.bindPopup('<b>Colosseum</b><br>An ancient amphitheater in Rome, Italy.');

const santorini = L.marker([36.3932, 25.4615]).addTo(map);
santorini.bindPopup('<b>Santorini</b><br>A stunning island in Greece known for its white-washed buildings and sunsets.');



</script>
</body>
</html>

0 comments on commit 95a0390

Please sign in to comment.