@ribajs/leaflet-map

2.0.0-rc.21 • Public • Published

Leaflet Map Module

Install

npm install --save @ribajs/leaflet-map

Regist

To regist the module include import leafletModule from '@ribajs/leaflet-map'; in your main.ts file and regist the module with riba.module.register(leafletModule.init());:

import { Riba, coreModule } from '@ribajs/core';
import { leafletModule } from '@ribajs/leaflet-map';
import { ready } from '@ribajs/utils/src/dom';
const riba = new Riba();
const model = {};
riba.module.register(coreModule.init());
riba.module.register(leafletModule.init());
ready(() => {
  riba.bind(document.body, model);
});

Dependencies (8)

Dev Dependencies (31)

Package Sidebar

Install

npm i @ribajs/leaflet-map

Weekly Downloads

5

Version

2.0.0-rc.21

License

MIT

Unpacked Size

110 kB

Total Files

43

Last publish

Collaborators

  • jumplink