Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version Build Status Dependency Status

features

Manages features added to geojson sources predefined in map style.

Install

$ npm install --save @mapwhit/features

Usage

import init from '@mapwhit/features';

const features = init({
  map, // map object initialized with map style
});

const feature = features.add({
  source, // name of geojson source defined in map style
  data
});

features.remove(feature);

License

MIT © Natalia

About

Manages features added to geojson sources predefined in map style.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages