def METHOD_NAME(component, request: Request):
    if component.get("useConfigDefaultMapSettings", False):
        config = GlobalConfiguration.get_solo()
        assert isinstance(config, GlobalConfiguration)
        component["defaultZoom"] = config.form_map_default_zoom_level
        component.setdefault("initialCenter", {})
        component["initialCenter"]["lat"] = config.form_map_default_latitude
        component["initialCenter"]["lng"] = config.form_map_default_longitude