add Control getContainer, close #1409

This commit is contained in:
Vladimir Agafonkin 2013-02-19 17:45:50 +02:00
parent d98b4ea035
commit c50410eadc

View File

@ -32,6 +32,10 @@ L.Control = L.Class.extend({
return this;
},
getContainer: function () {
return this._container;
},
addTo: function (map) {
this._map = map;