@hpcc-js/leaflet-shim
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

@hpcc-js/leaflet-shim

This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including quick start, demos and tutorials, please visit the main page on GitHub: hpcc-systems/Visualization.

Details

The leaflet-shim package "wraps" a subset of the https://github.com/Leaflet/Leaflet functionality in a WebPack bundle to simplify its inclusion in modern JavaScript libraries / Web Applications.

Consuming with WebPack

Should "just work"

Consuming with iife

Simply include the package in your html file as normal (it has a global ID of "@hpcc-js/deck-shim"):

<head>
    ...
    <script src="node_modules/@hpcc-js/leaflet-shim/dist/index.min.js"></script>
    <script>
        var dgridShim = window["@hpcc-js/leaflet-shim"];
    </script>
</head>
<body>
    ...
    <script>
        ...
    </script>
    ...
</body>

Consuming with Rollup.js

Should "just work"

/@hpcc-js/leaflet-shim/

    Package Sidebar

    Install

    npm i @hpcc-js/leaflet-shim

    Weekly Downloads

    1,008

    Version

    2.5.0

    License

    Apache-2.0

    Unpacked Size

    1.19 MB

    Total Files

    41

    Last publish

    Collaborators

    • hpcc-js