@indigocore/angular-mapexplorer

0.3.0 • Public • Published

angular-mapexplorer

AngularJS 1.6 directive to display an Indigo Map Explorer

npm

Demo

http://stratumn.github.io/angular-mapexplorer/

Install

npm

$ npm install @indigocore/angular-mapexplorer

You might also need tinycolor.js and angular-drop.

Usage

<st-map-explorer chainscript="home.json" refresh="0"></st-map-explorer>

or

<st-map-explorer agentUrl="home.agentUrl" map-id="home.mapId" process="home.process" options="{showTagColorConfiguration: true}"></st-map-explorer>

Options

showTagColorConfiguration
Default: false

Display the tag color legend and allow configuration

onSegmentShow

Default: noop

Callback called when a segment content is displayed with the segment in argument

onSegmentHide

Default: noop

Callback called when a segment content is hidden

Plus all options inherited from MapExplorer Core

Development

Build and launch demo app:

npm run build:demo
node docs/server.js

The application will be served at localhost:3300

Readme

Keywords

none

Package Sidebar

Install

npm i @indigocore/angular-mapexplorer

Weekly Downloads

0

Version

0.3.0

License

Apache-2.0

Unpacked Size

2.86 MB

Total Files

69

Last publish

Collaborators

  • alexppxela
  • simonvadee
  • t-bast
  • bejito
  • sf-stratumn
  • conord33
  • jeremie-stratumn
  • piedup