Norkart / Leaflet-MiniMap

A minimap control plugin for Leaflet
BSD 2-Clause "Simplified" License
395 stars 125 forks source link

New Option to Minimize/Maximize Mini-Map #8

Closed ktraff closed 11 years ago

ktraff commented 11 years ago

Added a toggleDisplay option that can toggle the mini map from displayed to minimized (and back). Only a few lines of javascript, three css tags and a small image file were needed to do this.

You can preview this using the example/example_toggleDisplay.html

maximized minimized

robpvn commented 11 years ago

Good idea, nicely implemented. Thanks!