Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

leaflet-control-topcenter

Description

Extend leaflet to allow controls to be placed position top-center and bottom-center

No support for IE8 (Using flex)

Installation

bower

bower install https://github.com/FCOO/leaflet-control-topcenter.git --save

Demo

http://FCOO.github.io/leaflet-control-topcenter/demo/

Usage

Create controls with with position: "topcenter" or position: "bottomcenter"

map.addControl(new L.Control.Zoom({ position: 'topcenter' })); //Adds a zoom-control at the top-center

Copyright and License

This plugin is licensed under the MIT license.

Copyright (c) 2016 FCOO

Contact information

Niels Holt

About

Extend leaflet to allow controls to be placed at position top-center and bottom-center

Resources

License

Packages

No packages published