Skip to content

DigElements/leaflet-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaflet-wrapper

A Polymer Element that wraps a leaflet-map.

Example

var data = [{
  latitude: 38.882222,
  longitude: -77.171111,
  text: 'Falls Church, VA'
}, {
  latitude: 39.203611,
  longitude: -76.856944,
  text: "Columbia, MD"
}];
<leaflet-wrapper data="[[data]]"></leaflet-wrapper>

Dependencies

Dependencies are installed using Bower:

npm install -g bower
bower install

Testing

Tests are run using web-component-tester:

npm install -g web-component-tester
wct

Demonstration & Documentation

Demonstration and documentation are viewed using polyserve:

npm install -g polyserve
polyserve

About

A Polymer Element that wraps a leaflet-map.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages