bbecquet/Leaflet.MagnifyingGlass — pull request #5 by aebadirad (2014-03-06 09:52:57+00:00)
Title: Leaflet Master branch compatibility update for new method of adding layers

changed extension of generic Class to Layer as well as updated addTo
method. This is a hack to continue to allow the bulk of the code written
to function in the .8 dev version of leaflet.

Should probably branch between leaflet master version and .7.2 and prior versions, as this plugin will have to be rewritten going forward to support the push to 1.0 leaflet but any changes will break the plugin for legacy leaflet versions.