@mapwhit/style-loader
v2.0.2
Published
Module to process and cache map style
Readme
@mapwhit/style-loader
Module to process and cache map style.
Install
$ npm install --save @mapwhit/style-loaderUsage
Load map style JSON and convert to an object that handles loading of all artifacts (sprites, sources, tiles, etc.) defined in the style.
import { styleLoader } from '../lib/style-loader.js';
const style = await styleLoader('https://example.com/style.json', 'network-only');License
MIT © Natalia Kowalczyk
