We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9f1cd commit 525c3b2Copy full SHA for 525c3b2
packages/geojson-extension/src/index.tsx
@@ -73,17 +73,6 @@ const LAYER_OPTIONS: leaflet.TileLayerOptions = {
73
maxZoom: 20
74
};
75
76
-// class FitToBounds extends leaflet.Control {
77
-// _img: HTMLImageElement;
78
-// onAdd(map: object): HTMLElement {
79
-// this._img = leaflet.DomUtil.create('img') as HTMLImageElement;
80
-// this._img.className = 'jp-ZoomToBoundsIcon';
81
-// this._img.style.width = '40px';
82
-// this._img.onclick = function(){map.fitToBounds()};
83
-// return this._img;
84
-// };
85
-// }
86
-
87
class FitToBounds extends leaflet.Control {
88
_img: HTMLImageElement;
89
delegate: RenderedGeoJSON;
0 commit comments