Tsvetan Tsvetkov
Tsvetan Tsvetkov
Add a class('standalone' for example) when page is launched in standalone mode(full-screen) in mobile Safari. Simple implementation can be seen here: https://github.com/ttsvetko/device.js/commit/d0d90e89a04a7d9b530a64048d16a70e3d8f4a05 Note that i'm not limiting standalone to mobile...
Here it the code-fragment for 'removeLayer': ```javascript removeLayer: function (layer) { var id = L.Util.stamp(layer); var _layer = this._getLayer(id); if (_layer) { delete this.layers[this.layers.indexOf(_layer)]; // `this.layers` should be replaced with...