Skip to content

About

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

Resources

Stars

22 stars

Watchers

2 watching

Forks

Repository files navigation

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

Stars

22 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages