@sebastianfloka , add this snippet to your site –
function wcfm_fix_load_scripts( $end_point ) {
global $WCFM, $WCFMmp;
switch( $end_point ) {
case 'wcfm-settings':
$default_geolocation = isset( $WCFMmp->wcfmmp_marketplace_options['default_geolocation'] ) ? $WCFMmp->wcfmmp_marketplace_options['default_geolocation'] : array();
$default_lat = isset( $default_geolocation['lat'] ) ? esc_attr( $default_geolocation['lat'] ) : apply_filters( 'wcfmmp_map_default_lat', 30.0599153 );
$default_lng = isset( $default_geolocation['lng'] ) ? esc_attr( $default_geolocation['lng'] ) : apply_filters( 'wcfmmp_map_default_lng', 31.2620199 );
$default_zoom = apply_filters( 'wcfmmp_map_default_zoom_level', 15 );
$store_icon = apply_filters( 'wcfmmp_map_store_icon', $WCFMmp->plugin_url . 'assets/images/wcfmmp_map_icon.png', 0, '' );
wp_localize_script( 'wcfm_marketplace_settings_js', 'wcfm_marketplace_setting_map_options', array( 'search_location' => __( 'Insert your address ..', 'wc-multivendor-marketplace' ), 'is_geolocate' => apply_filters( 'wcfmmp_is_allow_store_list_by_user_location', true ), 'default_lat' => $default_lat, 'default_lng' => $default_lng, 'default_zoom' => absint( $default_zoom ), 'store_icon' => $store_icon, 'icon_width' => apply_filters( 'wcfmmp_map_icon_width', 40 ), 'icon_height' => apply_filters( 'wcfmmp_map_icon_height', 57 ), 'is_rtl' => is_rtl() ) );
break;
}
}
add_action( 'wcfm_load_scripts', 'wcfm_fix_load_scripts' );
add_action( 'after_wcfm_load_scripts', 'wcfm_fix_load_scripts' );
Add custom code(s) to your child theme’s functions.php
In case you do not have child theme then add those using this plugin –?https://www.ads-software.com/plugins/code-snippets/
Thank You