Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

ABI-Software/flatmap-viewer

Repository files navigation

ARCHIVED

Note that this repository is now in devlopment at:

https://github.com/AnatomicMaps/flatmap-viewer

Flatmap Viewer

A viewer for anatomical flatmaps generated by flatmap-maker. The viewer is intended to be a component of a larger Javascript web application, although may be used standalone for local flatmap development and testing. Flatmap content is obtained from a flatmap-server.

Standalone Use

Requirements

Installation

  1. Clone this repository.
  2. Run npm install

Running

$ npm start

Maps can then be viewed at http://localhost:3000

Configuration

The map server endpoint is specified as MAP_ENDPOINT in src/main.js. It defaults to http:localhost:4329/, which matches the default endpoint of a local flatmap server.

Package Installation

  • npm install @dbrnz/flatmap-viewer

Documentation

Documentation for the API is available here.