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.
pnpm install @abi-software/flatmap-viewer@4.2.1
- Clone this repository.
- Run
pnpm install
in the checked out working directory.
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.
$ pnpm start
Maps can then be viewed at http://localhost:3000.