Skip to content

This project showcases how to build an interactive map that displays detailed information and images via modal popups when markers are clicked.

Notifications You must be signed in to change notification settings

uwemdev/Map-Marker-Using-HTML-CSS-and-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project employs a combination of HTML, CSS, and JavaScript to achieve its functionality and aesthetics. HTML structures the content, CSS ensures a responsive and visually appealing design, and JavaScript powers the interactive elements. Leaflet.js, an open-source library for mobile-friendly interactive maps, is used to render the map and manage the markers. The map tiles are provided by OpenStreetMap, adding a reliable and comprehensive geographical backdrop. Whether you are a web developer looking to enhance your skills or a business aiming to present geographic data engagingly, this project serves as an excellent example and starting point.

Features:

Interactive Map: Utilizes Leaflet.js to render a dynamic and interactive map.
Custom Markers: Each marker on the map can display a modal with detailed information.
Responsive Design: The map and modal are designed to be fully responsive, ensuring a seamless experience across various devices.
Image Gallery: The modal includes an image gallery to showcase multiple images related to the selected marker.
Detailed Information: The modal displays a title, description, and a link for more information.
Smooth User Experience: Clicking on a marker brings up a modal window with detailed information, which can be closed by clicking a close button or outside the modal.

Technologies Used:

HTML: Structures the content and layout of the webpage.
CSS: Styles the map, modal, and overall page, ensuring a visually appealing and responsive design.
JavaScript: Powers the interactive functionalities, including initializing the map, handling marker clicks, and managing the modal.
Leaflet.js: A powerful library for interactive maps, providing the mapping functionalities.
Google Fonts: Integrates the Poppins font for a modern and clean typography.

How to Use:

Open the HTML file in a web browser.
Explore the interactive map by clicking on the markers.
Each click on a marker will open a modal displaying detailed information, including images and a link for more details.
Close the modal by clicking the close button (×) or anywhere outside the modal.

About

This project showcases how to build an interactive map that displays detailed information and images via modal popups when markers are clicked.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published