Skip to content

Commit

Permalink
reinstates dynamic minimap w/ fixes to border styling
Browse files Browse the repository at this point in the history
  • Loading branch information
scott2b committed Mar 25, 2021
1 parent 77307c0 commit 5b12d8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/js/map/leaflet/Map.Leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,16 +474,12 @@ export default class Leaflet extends Map {
)

if (this._mini_map && this.options.width > this.options.skinny_size) {
TODO: figure this out
this._mini_map.restore();
/*
if ((_zoom - 1) <= this.zoom_min_max.min ) {
this._mini_map.minimize();
} else {
this._mini_map.restore();
//this._mini_map.updateDisplay(_location, _zoom, _duration);
}
*/
}

}
Expand Down
2 changes: 1 addition & 1 deletion webpack.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { merge } = require('webpack-merge')
const merge = require('webpack-merge')
const common = require('./webpack.common.js')
const HtmlWebpackPlugin = require('html-webpack-plugin');

Expand Down

0 comments on commit 5b12d8c

Please sign in to comment.