mithril-ui-form-leaflet-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.5.3 • Public • Published

A map plugin for Mithril-ui-form

Mithril-ui-form is a declarative framwork to create forms using the front-end Mithril framework and mithril-materialized components using the materialize-css design theme.

Originally, the map component was included by default, and you needed to import Leaflet and Leaflet-draw even when not using a map. Recent versions (v1.0.0+) have removed support for the leaflet map component, so you need to include it manually yourself.

import { leafletPlugin } from 'mithril-ui-form-leaflet-plugin';

...

registerPlugin('map', leafletPlugin);

/mithril-ui-form-leaflet-plugin/

    Package Sidebar

    Install

    npm i mithril-ui-form-leaflet-plugin

    Weekly Downloads

    2

    Version

    0.5.3

    License

    MIT

    Unpacked Size

    22.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • erikvullings