zoom-level of the libchamplain map_view widget not respected
Submitted by Fabrice Bellet
The problem comes from the call to champlain_view_ensure_layers_visible(), that is done before the priv->map_view view has a viewport_width and height. So zoom_level is decremented until min_y-max_y and max_x-min_x both become equal to zero (they cannot be negative), meaning the bounding box is a single pixel at this zoom level. So the Ideal zoom level is much lower than the zoom-level provided initially.
Possible workaround may be to set a dummy size to priv->map_view when creating it ?