Skip to content

[DEMO] - Comparing the rendering performance of webmaps when in edit mode.

Notifications You must be signed in to change notification settings

jeafreezy/webmap-compare

Repository files navigation

Webmap Compare

This is a demo project to compare the performance of Mapibre GL JS and Leaflet JS when rendering large GeoJSON features on the map in draw mode.

Draw functionality is powered by TerraDraw.

Features

  • Draw Mode: Use TerraDraw to add or select, point, line and polygons features on the map.
  • Random GeoJSON generator - Generate random GeoJSON features.
  • GeoJSON Rendering: Test the rendering capabilities of different mapping libraries with large datasets.

Usage

  1. Select the mapping library.
  2. Generate random geeometries.
  3. Draw or select features on the map.
  4. Pan and zoom to observe how each mapping library handles the rendering of large GeoJSON datasets. Take note of any performance issues or crashes.

Setup

Clone:

git clone https://github.com/jeafreezy/webmap-compare.git
cd webmap-compare

Install dependencies:

pnpm install

Start development server:

pnpm  dev

Technologies Used

About

[DEMO] - Comparing the rendering performance of webmaps when in edit mode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published