Skip to content

mapmanager/WebMapManager

Repository files navigation

WebMapManager

WebMapManager is a web based application built to provide the same functionality of PyMapManager. It provides a plugin based architecture for visualizing and analyzing time-series annotations and 3D image volumes, making it highly customizable and extensible. Designed for ease of use, WebMapManager is built with a modern interface that simplifies the distribution and adoption of the MapManager.

A preview of WebMapManager


Live Demo

Explore the live demo at https://mapmanager.net/WebMapManager/.


Table of Contents

  1. Project Structure
  2. Setup
  3. Running a Development Instance
  4. Building WebMapManager

Project Structure

The WebMapManager project is organized into multiple packages to ensure modularity and extensibility:

packages/app

  • Purpose: The base application.
  • Features:
    • Plugin system for extensibility.
    • Tab and shared state management systems.

packages/core

  • Purpose: Interlanguage interfaces and core functionality.
  • Features:
    • Communication with the shared MapManagerCore Python package.
    • File loading and saving adaptors.

packages/image-view

  • Purpose: Image viewer plugin.
  • Features:
    • Renders image slices.
    • Visualizes annotations.
    • Interactive editable annotations.

packages/scatter-plot

  • Purpose: Scatter plot plugin.
  • Features:
    • Create 2D & 3D scatter plots.
    • Custom analysis axes and markers.

packages/table

  • Purpose: Table plugin.
  • Features:
    • Displays raw data and derived analysis in a table.

packages/example-plugin

  • Purpose: Example plugin.
  • Features:
    • Serves as a starting point for creating new controls, tools, or visualizations for WebMapManager.

Setup

Follow these steps to set up the project for development:

  1. Initialize Git Submodules:
    git submodule init
    git submodule update
  2. Install Node.js:
  3. Install Yarn:
    • Install Yarn using npm:
      npm install -g yarn
  4. Install Dependencies:
    • Install dependencies for the project:
      yarn install
  5. Install Python Dependencies:
    • Install Python 3.11+.
    • Install the required Python packages:
      pip install -r requirements.txt

Running a development instance

  1. Run the server:
  yarn dev
  1. Open http://localhost:3001 in the browser (tested on Google Chrome).

Build WebMapManager

To build the static application for deployment:

  1. Build the static application:
  yarn build
  1. Upload the /build/ directory to your static file server under /WebMapManager/.

  2. Optional: To serve the application from a different directory:

    • Update the base property in vite.config.ts:
      export default defineConfig({
        base: "/your-directory/",
        ...
      });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages