Skip to content

makinacorpus/Leaflet.Social

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Leaflet.Social

Very simple yet effective sharing buttons Leaflet control. It adds Facebook/Twitter/Google+ sharing buttons as a basic links. There is no external scripts, no iframe, or any other polluting elements. It shares the current url, so if you use Leaflet-hash, it will share the current zoom and position.

Uses Font Awesome icons.

Usage

    L.control.social({default_text: "Guess where I am"}).addTo(map);

See an example.

Authors

Eric Bréhault

Makina Corpus

About

Very simple yet effective sharing buttons Leaflet control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published