Skip to content

Latest commit

 

History

57 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version Build Status Dependency Status

@mapwhit/style-loader

Module to process and cache map style.

Install

$ npm install --save @mapwhit/style-loader

Usage

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

About

Module to process and cache map style

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages