Skip to content

Commit 9b04737

Browse files
committed
Don't delete default scales for fitbounds
1 parent ee8597f commit 9b04737

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/plots/geo/layout_defaults.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ function handleGeoDefaults(geoLayoutIn, geoLayoutOut, coerce, opts) {
207207
// clear attributes that will get auto-filled later
208208
if(fitBounds) {
209209
delete geoLayoutOut.projection.scale;
210-
delete geoLayoutOut.projection.minscale;
211-
delete geoLayoutOut.projection.maxscale;
212210

213211
if(isScoped) {
214212
delete geoLayoutOut.center.lon;

0 commit comments

Comments
 (0)