Skip to content

Commit 525c3b2

Browse files
mjmdavismjmdavis
authored andcommitted
cleanup
1 parent 0f9f1cd commit 525c3b2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/geojson-extension/src/index.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ const LAYER_OPTIONS: leaflet.TileLayerOptions = {
7373
maxZoom: 20
7474
};
7575

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-
8776
class FitToBounds extends leaflet.Control {
8877
_img: HTMLImageElement;
8978
delegate: RenderedGeoJSON;

0 commit comments

Comments
 (0)