@senx/discovery-plugin-marauder
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

Marauder's map Discovery plugin

Addon for Discovery that adds a map of Marauder's map.

Usage

<head>
  <title>Test</title>
</head>
<body>
<discovery-dashboard url="https://warp.senx.io/api/v0/exec" dashboard-title="Test">
{
  'title' 'Test'
  'description' 'Dashboard test'
  'tiles' [
    {
      'title' 'test'
      'x' 0 'y' 0 'w' 12 'h' 4
      'type' 'marauder'
      'macro' <%
        [ 1 4 <%
          NEWGTS 'g' STORE
            1 100 <%
              'ts' STORE $g $ts RAND + STU * NOW + RAND 10.0 * RAND 10.0 * NaN RAND ADDVALUE DROP
            %> FOR
            $g
        %> F FOR ] 'data' STORE
        {
          'data' $data
          'globalParams' {
            'map' {
              'step' 1 s
              'delay' 1000 // ms
              'mapType' 'CARTODB'
            }
          }
        }
      %>
    }
  ]
}
</discovery-dashboard>
<!-- core -->
<script nomodule src="https://unpkg.com/@senx/discovery-widgets/dist/discovery/discovery.js"></script>
<script type="module" src="https://unpkg.com/@senx/discovery-widgets/dist/discovery/discovery.esm.js"></script>

<!-- plugins -->
<script type="module" src="https://unpkg.com/@senx/discovery-plugin-marauder/dist/discovery-plugin-marauder.esm.js"></script>
<script nomodule src="https://unpkg.com/@senx/discovery-plugin-marauder/dist/discovery-plugin-marauder.js"></script>

</body>
</html>

Package Sidebar

Install

npm i @senx/discovery-plugin-marauder

Homepage

warp10.io/

Weekly Downloads

33

Version

0.0.8

License

Apache-2.0

Unpacked Size

141 MB

Total Files

417

Last publish

Collaborators

  • xavmarin
  • giwi
  • pi-r-p