martindholmes / BreezeMap

BreezeMap is a project to create a simple user interface for interactive map and facsimile editing based on TEI XML and OpenLayers 4+.
MIT License
11 stars 3 forks source link

Handling for private URI protocol hol: #1

Closed martindholmes closed 8 years ago

martindholmes commented 8 years ago

We want to provide a simple mechanism for linking between feature descriptions and associated static documents and other features on the map. The idea is that you can do this in TEI:

Next door to the <ref target="hol:feature05">Bookstore</ref>...

and at runtime this will be converted into a call to:

holLayer.showFeatureById('feature05');

which will then select that feature in the normal way. This is high-priority because required by our pilot project. Reference integrity will be checked at build time by the XSLT.

martindholmes commented 8 years ago

Implemented, tested and committed in https://github.com/martindholmes/BreezeMap/commit/c1545a387f3a4a23fe0f56772eed85c10bd90e85.