KML File Visualizer is a React application that allows users to upload and visualize Keyhole Markup Language (KML) files. The application parses the KML file, converts it into GeoJSON format, and displays the geographic data on an interactive map using Leaflet.js.
- Upload and parse KML files
 - Convert KML data to GeoJSON format
 - Display geographic features on an interactive Leaflet map
 - View detailed information about each feature, including type and length (for line features)
 - Toggle between a summary preview and detailed view
 - Supports drag-and-drop file uploads
 
- React.js
 - Leaflet.js
 - React Bootstrap
 - Mapbox's 
@mapbox/togeojsonlibrary for KML to GeoJSON conversion 
- Clone the repository:
git clone https://github.com/ab00s1/kml_file_reader.git
 - Navigate to the project directory:
cd kml_file_reader - Install dependencies:
npm install
 - Start the development server:
npm run dev
 
App.jsx: Main component handling file upload and state management.components/Details.jsx: Displays detailed information about each geographic feature.components/Preview.jsx: Provides a summary of KML elements.components/Map.jsx: Renders the interactive map with GeoJSON data.
- Open the application in your browser.
 - Drag and drop a KML file or click to upload.
 - View a preview of file contents in the summary table.
 - Click "Show Details" to see more in-depth information about each feature.
 - Explore the map to visualize the geographic elements.