mapcomponents / pwa-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:JavaScript 81.8%Language:TypeScript 16.7%Language:Shell 0.6%Language:Dockerfile 0.4%Language:CSS 0.3%Language:HTML 0.2%