urbanriskmap / cognicity-rem

Cognicity REM Web Client v3
0 stars 1 forks source link

Semarang map display issues #46

Open matthewberryman opened 5 years ago

matthewberryman commented 5 years ago

I've tried tweaking the map extents in 6d9ba707d5983a47081d8de5c43dc98d9578a6f6 to better centre and focus on Semarang in initial map display. However on first load it does this two step process of using the map extents I specify (with some cut off by table), but then zooms in and cuts off the bottom of Semarang:

screenshot 2018-11-21 11 50 41

Then on selecting regions, sometimes these are cut off at the bottom (as shown) or entirely off the bottom of the screen. Resizing the browser window fixes this particular issue but then both issues show up on page reload.

screenshot 2018-11-21 11 51 01

OS: macOS 10.14.2 Browsers: Chrome beta 71.0.3578.62, Firefox Developer Edition 64.0b11 (64-bit)

fadmastuti commented 5 years ago

same issue when zooming in to specific location to input flood height detail

screen shot 2018-11-27 at 11 26 26 am
tomasholderness commented 5 years ago

I have fixed the first issue, the map no longer zooms in once the data is loaded.

The second issue is due to the fixed height that is applied to the table and the map. Do we know if this affects the EOC screens?

matthewberryman commented 5 years ago

@talltom 014007a fixes second issue for me in local testing.

matthewberryman commented 5 years ago

@fadmastuti try now (please shift/command refresh to reset your cache for the page)