Skip to content

Manages features added to geojson sources predefined in map style.

License

Notifications You must be signed in to change notification settings

mapwhit/features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •