Initial extents get updated after LeafletMapMoveEnd
During the last review it was pointed out that the continental United States was not visible by default on all screen sizes. To recreate this issue load the interface in "iPad" mode inside chrome inspector, you will see that the United states is getting cropped:
This only appears to happen on the initial load.
It looks like the default extents are being applied, then the leafletMapMoveEnd
action is triggering and causing the map to update the extents. It appears that ngx-leaflet is actually zooming the map, and this may be part of what is causing an issue. Either way, the correct extents are updated and a slightly zoomed version is replacing the default/correct extents.
First the default extents are fit to the map.
A map move end triggers the map to update again and the map appears to zoom and change the extents.