Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.22 KB

MapComponents logo

PWA-Demo with MapComponents + vite + react + typescript

This project merges PWA technology with MapComponents, aiming to provide reliable, fail-safe access to data offline. It uses a Service Worker for enhanced performance and data accessibility. MapComponents MapLibre is a react component library for declarative GIS application development.

Links

Features

  • Offline Functionality: Offers robust offline maps and data access.
  • Cross-Platform Compatibility: Designed for seamless operation across all devices.
  • Easy Updates & Maintenance: Ensures easy access to the latest features.

Getting Started

Install project dependencies:

yarn

Docker:

docker build . -t mc_pwa_data_processing
docker run -d -p 8080:8080 mc_pwa_data_processing

Update data

To build background tiles, data tiles, geometry and search indices.

yarn processData

Start the development server

yarn dev

Build for production

yarn build