MSFREACH / msf-reach

Web platform for MSF-REACH
https://msf-reach.org/
4 stars 5 forks source link

depending on map pan, lng from leaflet can be out of range #571

Closed matthewberryman closed 5 years ago

matthewberryman commented 5 years ago

fixed with https://github.com/MSFREACH/msf-reach/commit/aa2fb1a3a1bb491a81768c144bfc0e0ed62c3cfa 54579a5

LucieGueuning commented 5 years ago

image Still happening.

matthewberryman commented 5 years ago

@LucieGueuning I have repeatedly tested on Chrome and cannot reproduce this issue on zooming out, noting that we start with a sensible default zoom and also preserve the current zoom level and location across page loads.

screenshot 2018-12-06 09 46 00

Can you please reset cookies and cache your end to make sure it's picked up the latest code and re-test, and also if still present please advise what browser this is.

LucieGueuning commented 5 years ago

image Cookies reset and cache cleared. Map zoom out still too far.

matthewberryman commented 5 years ago

@LucieGueuning from your screenshot I can see the lngmin/lngmax contact (popup warning) aspect is resolved following your cache clear, and it seems as if the remaining aspect is just that you'd like the ability to restrict the zoom? I am just deploying a fix for that now to all environments.