This project is a template web application that displays a Leaflet map with a default satellite tile layer. It also now includes a select option for changing map layers.
To install the project, clone the repository and install the dependencies using npm or yarn:
# Install dependencies using npm
npm install
# Or install dependencies using yarn
yarn installTo run the project, use the start command:
# Run the project using npm
npm start
# Or run the project using yarn
yarn startThis will start a development server at http://localhost:5173/ where you can view the map.
To build the project for production, use the build command:
# Build the project using npm
npm run build
# Or build the project using yarn
yarn buildThis will create a dist directory with the production-ready files.
This project uses ESLint for linting and Prettier for code formatting. The linting and formatting rules are defined in the .eslintrc.js and .prettierrc files. To lint the project, use the lint command:
Copy code
# Lint the project using npm
npm run lint
# Or lint the project using yarn
yarn lintThis will check the project's files for code style violations. You can also use the fix command to automatically fix some of the issues:
Copy code
# Automatically fix some of the code style violations using npm
npm run fix
# Or automatically fix some of the code style violations using yarn
yarn fixThis project is licensed under the MIT License.

