@abi-software/flatmap-viewer 中文文档教程
==============
Flatmap Viewer
flatmap-maker
生成的解剖平面图查看器. 查看器旨在成为更大的 Javascript Web 应用程序的组件,尽管可以独立用于本地平面图开发和测试。 平面地图内容是从 flatmap-server
获得的。
Standalone Use
Requirements
nodejs <https://nodejs.org/en/download/>
_
Installation
1)克隆这个存储库。 2) 运行 npm install
Running
::
$ npm start
然后可以在 http://localhost:3000
配置 中查看地图 ~~~~~~~~~~~~~
地图服务器端点在 src/main.js
中指定为 MAP_ENDPOINT
。 它默认为 http:localhost:4329/
,这与本地平面图服务器的默认端点匹配。
Package Installation
npm install @abi-software/flatmap-viewer
Documentation
API 记录在 Read the Docs
_。
==============
Flatmap Viewer
A viewer for anatomical flatmaps generated by flatmap-maker <https://github.com/dbrnz/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 <https://github.com/dbrnz/flatmap-server>
.
Standalone Use
Requirements
nodejs <https://nodejs.org/en/download/>
_
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 @abi-software/flatmap-viewer
Documentation
The API is documented at Read the Docs <https://flatmap-viewer.readthedocs.io/en/mapmaker-v2/>
_.