Skip to content

mapwhit/style-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •