Skip to content

AnatomicMaps/flatmap-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flatmap Viewer

A web-browser viewer for anatomical flatmaps generated by flatmap-maker. The viewer is intended to be used as a component in a web application, although it can be used standalone for local flatmap development and testing. Flatmap content is obtained from a flatmap-server.

Package Installation


Standalone Use

Requirements

  • nodejs JavaScript runtime environment.
  • pnpm Node package manager.

Installation

  1. Clone this repository.
  2. Run pnpm install in the checked out working directory.

Configuration

Map server endpoints are defined by MAP_ENDPOINTS in app/index.ts. The first endpoint listed is used as the default, this being the default endpoint for a local flatmap server.

Running

$ pnpm start

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


Example usage

See here