@abi-software/flatmap-viewer
v4.4.3
Published
Flatmap viewer using Maplibre GL
Keywords
Readme
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
pnpm install @abi-software/[email protected]
Standalone Use
Requirements
Installation
- Clone this repository.
- Run
pnpm installin 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 startMaps can then be viewed at http://localhost:3000.
Example usage
See here
