UNPKG

@fleetbase/ember-ui

Version:

Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.

7 lines (5 loc) 305 B
import loadAssets from './load-assets'; export default function loadLeafletPlugins(assets = { basePath: null, scripts: [], stylesheets: [], globalIndicatorKey: null }, callback = null) { const basePath = assets.basePath ?? 'engines-dist/leaflet'; loadAssets({ basePath, ...assets }, callback); }