Currently when Max Bounds is set, Fit Bounds is set to the same value as Max Bounds. As max bounds may be much bigger than the current window this probably shouldn't happen.

For example, we've set a specific zoom level to start on and this is ignored when Max Bounds is set.

Comments

imclean created an issue. See original summary.

imclean’s picture

Status: Active » Needs review
StatusFileSize
new613 bytes
imclean’s picture

This change may break some people's maps but the same result can be achieved by also adding the Max Bounds coordinates to the Map Centre option "Fixed Boundaries".

christianadamski’s picture

This change may break some people's maps but the same result can be achieved by also adding the Max Bounds coordinates to the Map Centre option "Fixed Boundaries".

Fair enough

  • imclean authored 58da15d on 8.x-3.x
    Issue #3119295 by imclean: Don't set Fit Bounds in Max Bounds
    
christianadamski’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.