Hooks : Cartes
immomakler_address_visible
Section intitulée « immomakler_address_visible »Type : Filter
Fichier : classes/class-immomakler.php:4649
Signature :
apply_filters( 'immomakler_address_visible', $address_visible, $openimmo_data, $immobilie )immomakler_distances_unit
Section intitulée « immomakler_distances_unit »Type : Filter
Fichier : skins/bootstrap3/functions.php:2047
Signature :
apply_filters( 'immomakler_distances_unit', 'km', $post_id )immomakler_geo_provider
Section intitulée « immomakler_geo_provider »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters which provider answers one geo service.Fichier : src-plus/Geo/Provider_Resolver.php:113
Signature :
apply_filters( 'immomakler_geo_provider', $chosen, $service, $providers )Paramètres :
$chosen(string) Provider id from the settings, may be empty.$service(string) Service key: geocoding, static_map or autocomplete.$providers(array<string,Contract\Geo_Provider_Interface>) Registered providers, keyed by id.
immomakler_geo_register_providers
Section intitulée « immomakler_geo_register_providers »Type : Action
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Fires once, so a site can add or replace geo-service providers. Registering under an existing id replaces that provider, which is how a site swaps our Google implementation for its own.Fichier : src-plus/Geo/Provider_Registry.php:194
Signature :
do_action( 'immomakler_geo_register_providers', $this )Paramètres :
$registry(Provider_Registry) The registry being built.
immomakler_geo_request_allowed
Section intitulée « immomakler_geo_request_allowed »Type : Filter
Depuis la version : 5.70.0
Description (tirée du code source, en anglais) :
Filters whether a geo request that is not cached may go out. Only asked on a cache miss, i.e. for a request the provider bills. The radius search hooks in here for the duration of one lookup to hold a visitor to their allowance; a refused request is not cached.Fichier : src-plus/Geo/Http/Geo_Http_Client.php:90
Signature :
apply_filters( 'immomakler_geo_request_allowed', true, $url )Paramètres :
$allowed(bool) Whether the request may be made. Default true.$url(string) The request URL, API key included.
immomakler_geocode_address
Section intitulée « immomakler_geocode_address »Type : Filter
Fichier : classes/class-immomakler.php:4692
Signature :
apply_filters( 'immomakler_geocode_address', true )Autres utilisations :
-
src/Cron/Events/Geocode_Missing_Coordinates.php:35apply_filters( 'immomakler_geocode_address', true )
immomakler_geocode_address_if_hidden
Section intitulée « immomakler_geocode_address_if_hidden »Type : Filter
Fichier : classes/class-immomakler.php:4708
Signature :
apply_filters( 'immomakler_geocode_address_if_hidden', false )Autres utilisations :
-
classes/class-immomakler.php:4723apply_filters( 'immomakler_geocode_address_if_hidden', false ) -
src/Google_Maps/Geocoder.php:143apply_filters( 'immomakler_geocode_address_if_hidden', false )
immomakler_geocode_result
Section intitulée « immomakler_geocode_result »Type : Filter
Fichier : src/Google_Maps/Geocoder.php:564
Signature :
apply_filters( 'immomakler_geocode_result', null, $address, $bias )immomakler_geocode_sublocality
Section intitulée « immomakler_geocode_sublocality »Type : Filter
Fichier : classes/class-immomakler.php:4723
Signature :
apply_filters( 'immomakler_geocode_sublocality', true )immomakler_geocode_with_bundesland
Section intitulée « immomakler_geocode_with_bundesland »Type : Filter
Fichier : classes/class-immomakler.php:4698
Signature :
apply_filters( 'immomakler_geocode_with_bundesland', false )Autres utilisations :
-
src-plus/PDF/Pdf_Builder_Dompdf.php:2275apply_filters( 'immomakler_geocode_with_bundesland', false ) -
src/Google_Maps/Geocoder.php:135apply_filters( 'immomakler_geocode_with_bundesland', false )
immomakler_geocoding_address
Section intitulée « immomakler_geocoding_address »Type : Filter
Fichier : src/Google_Maps/Geocoder.php:306
Signature :
apply_filters( 'immomakler_geocoding_address', $address )immomakler_geocoding_available
Section intitulée « immomakler_geocoding_available »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters whether geocoding is possible at all.Fichier : src/Google_Maps/Geocoder.php:102
Signature :
apply_filters( 'immomakler_geocoding_available', $google )Paramètres :
$available(bool) Whether Google is switched on and keyed.
immomakler_googlemaps_api_key
Section intitulée « immomakler_googlemaps_api_key »Type : Filter
Fichier : classes/class-immomakler-options.php:135
Signature :
apply_filters( 'immomakler_googlemaps_api_key', '' )Autres utilisations :
-
classes/class-immomakler-options.php:136apply_filters( 'immomakler_googlemaps_api_key', '' ) -
src/Google_Maps/Settings.php:448apply_filters( 'immomakler_googlemaps_api_key', '' ) -
src/Google_Maps/Settings.php:589apply_filters( 'immomakler_googlemaps_api_key', '' )
immomakler_map_address_with_bundesland
Section intitulée « immomakler_map_address_with_bundesland »Type : Filter
Fichier : src/Google_Maps/Single_Map.php:59
Signature :
apply_filters( 'immomakler_map_address_with_bundesland', true )immomakler_map_address_with_sublocality
Section intitulée « immomakler_map_address_with_sublocality »Type : Filter
Fichier : src/Google_Maps/Single_Map.php:56
Signature :
apply_filters( 'immomakler_map_address_with_sublocality', false )immomakler_map_blur_radius_km
Section intitulée « immomakler_map_blur_radius_km »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filter the radius drawn around a marker whose address is not exact.Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:235
Signature :
apply_filters( 'immomakler_map_blur_radius_km', $options->float( 'map_blur_radius_km' ) )Paramètres :
$kilometres(float) Radius in kilometres. Zero draws no circle.
immomakler_map_borlabs_blocker
Section intitulée « immomakler_map_borlabs_blocker »Type : Filter
Depuis la version : 5.67.0
Description (tirée du code source, en anglais) :
Filter the Borlabs content-blocker id the map is wrapped in. Deliberately stillgooglemaps by default, even when another engine draws the map: the id has to match a blocker the site actually configured in Borlabs, and an unknown one is not blocked at all. A site running MapLibre or Mapbox that has set up its own blocker points this at it.
Fichier : src-plus/Frontend/Map/Container/Map_Container_Renderer.php:251
Signature :
apply_filters( 'immomakler_map_borlabs_blocker', 'googlemaps', null !== $engine ? $engine->id() : 'google' )Paramètres :
$blocker_id(string) Borlabs content blocker id.$engine_id(string) Engine drawing this map.
immomakler_map_builder_controls
Section intitulée « immomakler_map_builder_controls »Type : Filter
Depuis la version : 5.67.0
Description (tirée du code source, en anglais) :
Filter the map settings offered on each builder module. Applies to every builder at once, since they all render this one list.Fichier : src-plus/Frontend/Map/Settings/Builder_Controls.php:123
Signature :
apply_filters( 'immomakler_map_builder_controls', $controls, $this->context )Paramètres :
$controls(array<int,array<string,mixed>>) Normalised definitions.$context(string) Which kind of map is asking.
immomakler_map_cluster_markers
Section intitulée « immomakler_map_cluster_markers »Type : Filter
Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:311
Signature :
apply_filters( 'immomakler_map_cluster_markers', true )Autres utilisations :
-
src-plus/Frontend/Map/Settings/Map_Settings_Schema.php:399apply_filters( 'immomakler_map_cluster_markers', true )
immomakler_map_config
Section intitulée « immomakler_map_config »Type : Filter
Description (tirée du code source, en anglais) :
Filter the map’s JavaScript configuration.Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:193
Signature :
apply_filters( 'immomakler_map_config', $config )Paramètres :
$config(array<string,mixed>) The config object handed to the map adapter.
immomakler_map_consent_descriptor
Section intitulée « immomakler_map_consent_descriptor »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the service a map’s consent box names.Fichier : src/Google_Maps/Map_Availability.php:92
Signature :
apply_filters( 'immomakler_map_consent_descriptor', self::google_consent(), $overrides )Paramètres :
$consent(array<string,string>) Descriptor withkey,providerandprivacy_url.$overrides(array<string,mixed>) Settings the one map carries.
immomakler_map_drawing_engine
Section intitulée « immomakler_map_drawing_engine »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the engine a map resolves to once fallbacks are applied.Fichier : src/Google_Maps/Map_Availability.php:333
Signature :
apply_filters( 'immomakler_map_drawing_engine', self::site_engine() )Paramètres :
$engine(string) Engine id, the site’s own choice by default.
immomakler_map_engine
Section intitulée « immomakler_map_engine »Type : Filter
Description (tirée du code source, en anglais) :
Filter which engine a map renders with.Fichier : src-plus/Frontend/Map/Engine/Engine_Resolver.php:168
Signature :
apply_filters( 'immomakler_map_engine', $id, $context )Paramètres :
$id(string) Engine id resolved so far.$context(array<string,mixed>) Render context.
immomakler_map_engine_configured
Section intitulée « immomakler_map_engine_configured »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters whether the site’s map engine is ready to draw.Fichier : src/Google_Maps/Map_Availability.php:385
Signature :
apply_filters( 'immomakler_map_engine_configured', $google )Paramètres :
$configured(bool) Whether Google’s browser key is entered.
immomakler_map_features
Section intitulée « immomakler_map_features »Type : Filter
Description (tirée du code source, en anglais) :
Filter the GeoJSON marker collection a map plots.Fichier : src-plus/Frontend/Map/Data/Marker_Collection_Builder.php:105
Signature :
apply_filters( 'immomakler_map_features', $collection, $atts )Paramètres :
$collection(array<string,mixed>) A GeoJSON FeatureCollection.$atts(array<string,mixed>) The query args the markers were loaded for.
immomakler_map_fitbounds
Section intitulée « immomakler_map_fitbounds »Type : Filter
Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:360
Signature :
apply_filters( 'immomakler_map_fitbounds', true )immomakler_map_force_googlemaps_embed
Section intitulée « immomakler_map_force_googlemaps_embed »Type : Filter
Fichier : src/Google_Maps/Settings.php:490
Signature :
apply_filters( 'immomakler_map_force_googlemaps_embed', false )immomakler_map_frame_scripts
Section intitulée « immomakler_map_frame_scripts »Type : Filter
Description (tirée du code source, en anglais) :
Filter the registered script handles the map frame prints.Fichier : src-plus/Frontend/Map/Frame/Frame_Renderer.php:161
Signature :
apply_filters( 'immomakler_map_frame_scripts', [] )Paramètres :
$handles(array<int,string>) Registered script handles.
immomakler_map_html
Section intitulée « immomakler_map_html »Type : Filter
Fichier : src-plus/Frontend/Map/Container/Map_Container_Renderer.php:264
Signature :
apply_filters( 'immomakler_map_html', $map_html, false )Autres utilisations :
-
src/Google_Maps/Single_Map.php:217apply_filters( 'immomakler_map_html', $map_html, $is_google_embed )
immomakler_map_max_area_radius
Section intitulée « immomakler_map_max_area_radius »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters how wide a shaded area may be before the map leaves it out.Fichier : src-plus/Frontend/Map/Data/Place_Id_Resolver.php:309
Signature :
apply_filters( 'immomakler_map_max_area_radius', $radius, $layer )Paramètres :
$radius(float) Equal-area radius in metres.$layer(string) Feature layer the area belongs to, so a site can tune postal codes and towns apart.
immomakler_map_noredirect
Section intitulée « immomakler_map_noredirect »Type : Filter
Fichier : src-plus/Frontend/Map/Container/Map_Container_Renderer.php:69
Signature :
apply_filters( 'immomakler_map_noredirect', false )Autres utilisations :
-
src-plus/Frontend/Map/Map_Hooks.php:261apply_filters( 'immomakler_map_noredirect', false )
immomakler_map_position_is_exact
Section intitulée « immomakler_map_position_is_exact »Type : Filter
Depuis la version : 5.69.0
Description (tirée du code source, en anglais) :
Filters whether a property’s coordinates mark its exact position. Decides how the property is drawn wherever its position is shown: an exact position gets a plain marker the map may frame closely, an approximate one gets the “position approximate” note, the radius circle or the shaded postal-code area, and a wider frame. By default a position is exact when a house number is stored. Returntrue for properties whose coordinates are known to be exact although their address carries no house number.
Fichier : src/Google_Maps/Position_Accuracy.php:59
Signature :
apply_filters( 'immomakler_map_position_is_exact', $exact, $post_id, $secret )Paramètres :
$exact(bool) Whether the position is exact.$post_id(int) Property post ID.$secret(bool) Whether the secret address is in effect for this reader.
immomakler_map_property_locations
Section intitulée « immomakler_map_property_locations »Type : Filter
Description (tirée du code source, en anglais) :
Filter the properties plotted on a map.Fichier : src-plus/Frontend/Map/Data/Property_Locations_Repository.php:123
Signature :
apply_filters( 'immomakler_map_property_locations', $locations, $atts )Paramètres :
$locations(array<int,array<string,mixed>>) One record per geocoded property.$atts(array<string,mixed>) The query args the records were loaded for.
immomakler_map_register_engines
Section intitulée « immomakler_map_register_engines »Type : Action
Description (tirée du code source, en anglais) :
Register additional map engines.Fichier : src-plus/Frontend/Map/Engine/Engine_Registry.php:143
Signature :
do_action( 'immomakler_map_register_engines', $this )Paramètres :
$registry(Engine_Registry) The registry to add engines to.
immomakler_map_single_frame
Section intitulée « immomakler_map_single_frame »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the frame the single map renders, and the identity it claims.Fichier : src/Google_Maps/Map_Availability.php:205
Signature :
apply_filters( 'immomakler_map_single_frame', [ 'url' => '', 'key' => '', 'suffix' => '', ], $post_id, $geolocation, $overrides )Paramètres :
$post_id(int) Property being mapped.$overrides(array<string,mixed>) Settings this one map carries.
immomakler_map_single_use_geocoordinates_only
Section intitulée « immomakler_map_single_use_geocoordinates_only »Type : Filter
Fichier : src/Google_Maps/Single_Map.php:83
Signature :
apply_filters( 'immomakler_map_single_use_geocoordinates_only', false, $post_id )immomakler_map_site_engine
Section intitulée « immomakler_map_site_engine »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the map engine this site draws with. Deliberately the site’s own engine rather than the one a given map resolves to: an instance override or theimmomakler_map_engine filter can send one map somewhere else, and that is not an answer about the site.
A site that never opened the control has still chosen nothing, and Plus answers with the engine its credentials point at — not with a fixed google, which claimed a decision nobody made. Switching maps off is its own value, none, so no credential can do it by accident.
Fichier : src/Google_Maps/Map_Availability.php:53
Signature :
apply_filters( 'immomakler_map_site_engine', 'google' )Paramètres :
$engine(string) Engine id.
immomakler_map_start_center
Section intitulée « immomakler_map_start_center »Type : Filter
Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:390
Signature :
apply_filters( 'immomakler_map_start_center', $center )immomakler_map_start_zoom
Section intitulée « immomakler_map_start_zoom »Type : Filter
Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:343
Signature :
apply_filters( 'immomakler_map_start_zoom', 15 )immomakler_map_start_zoom_single
Section intitulée « immomakler_map_start_zoom_single »Type : Filter
Fichier : src-plus/Frontend/Map/Config/Map_Config_Builder.php:336
Signature :
apply_filters( 'immomakler_map_start_zoom_single', $exact_address ? self::ZOOM_SINGLE_EXACT : self::ZOOM_SINGLE_APPROXIMATE, $exact_address )Autres utilisations :
-
src/Google_Maps/Single_Map.php:106apply_filters( 'immomakler_map_start_zoom_single', 15 )
immomakler_map_test_notice
Section intitulée « immomakler_map_test_notice »Type : Filter
Depuis la version : 5.67.0
Description (tirée du code source, en anglais) :
Filter the notice shown above the admin test map.Fichier : src/Google_Maps/Map_Availability.php:404
Signature :
apply_filters( 'immomakler_map_test_notice', '' )Paramètres :
$notice(string) Notice text, empty when there is nothing to say.
immomakler_map_tile_filters
Section intitulée « immomakler_map_tile_filters »Type : Filter
Depuis la version : 5.67.0
Description (tirée du code source, en anglais) :
Filter the colour treatments a basemap can be drawn with. Each entry needs alabel and a filter, the latter being a CSS filter value applied to the map’s tile pane.
Fichier : src-plus/Frontend/Map/Engine/Tile_Filters.php:101
Signature :
apply_filters( 'immomakler_map_tile_filters', $filters )Paramètres :
$filters(array<string,array<string,mixed>>) Treatments keyed by id.
immomakler_map_tile_providers
Section intitulée « immomakler_map_tile_providers »Type : Filter
Depuis la version : 5.67.0
Description (tirée du code source, en anglais) :
Filter the tile providers a map can be drawn from. Each entry needs at leastlabel, url, maxZoom and attribution. Optional: subdomains, key_placeholder, notice.
Fichier : src-plus/Frontend/Map/Engine/Tile_Providers.php:135
Signature :
apply_filters( 'immomakler_map_tile_providers', $providers )Paramètres :
$providers(array<string,array<string,mixed>>) Providers keyed by id.
immomakler_map_vector_styles
Section intitulée « immomakler_map_vector_styles »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filter the vector styles a GL map can be drawn from. Each entry needsengine (mapbox or maplibre), label, url, provider and privacy_url. Optional: notice.
Fichier : src-plus/Frontend/Map/Engine/Vector_Styles.php:238
Signature :
apply_filters( 'immomakler_map_vector_styles', $styles )Paramètres :
$styles(array<string,array<string,mixed>>) Styles keyed by id.
immomakler_places_autocomplete_auto_enqueue
Section intitulée « immomakler_places_autocomplete_auto_enqueue »Type : Filter
Fichier : src-plus/Search/Places_Autocomplete_Bootstrap.php:99
Signature :
apply_filters( 'immomakler_places_autocomplete_auto_enqueue', true )immomakler_places_autocomplete_debounce_ms
Section intitulée « immomakler_places_autocomplete_debounce_ms »Type : Filter
Fichier : src-plus/Headless/Query/Places_Config.php:52
Signature :
apply_filters( 'immomakler_places_autocomplete_debounce_ms', 140 )Autres utilisations :
-
src-plus/Search/Places_Autocomplete_Bootstrap.php:119apply_filters( 'immomakler_places_autocomplete_debounce_ms', 140 )
immomakler_places_autocomplete_max_results
Section intitulée « immomakler_places_autocomplete_max_results »Type : Filter
Fichier : src-plus/Headless/Query/Places_Config.php:51
Signature :
apply_filters( 'immomakler_places_autocomplete_max_results', 8 )Autres utilisations :
-
src-plus/Search/Places_Autocomplete_Bootstrap.php:118apply_filters( 'immomakler_places_autocomplete_max_results', 8 )
immomakler_places_autocomplete_min_length
Section intitulée « immomakler_places_autocomplete_min_length »Type : Filter
Fichier : src-plus/Headless/Query/Places_Config.php:50
Signature :
apply_filters( 'immomakler_places_autocomplete_min_length', 3 )Autres utilisations :
-
src-plus/Search/Places_Autocomplete_Bootstrap.php:117apply_filters( 'immomakler_places_autocomplete_min_length', 3 )
immomakler_places_autocomplete_rate_limit
Section intitulée « immomakler_places_autocomplete_rate_limit »Type : Filter
Depuis la version : 5.70.0
Description (tirée du code source, en anglais) :
Filters how many billed address lookups one client may trigger per hour. Applies to the radius search’s address suggestions on every transport, including the standalone Fast-API proxy. Return 0 to switch the limit off.Fichier : src-plus/Search/Places_Autocomplete_Rate_Limit.php:84
Signature :
apply_filters( 'immomakler_places_autocomplete_rate_limit', self::DEFAULT_LIMIT )Paramètres :
$limit(int) Lookups per client and hour. Default 600.
immomakler_places_location_config
Section intitulée « immomakler_places_location_config »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the rectangle address suggestions are biased or restricted to.Fichier : src-plus/Geo/Autocomplete_Context.php:84
Signature :
apply_filters( 'immomakler_places_location_config', null )Paramètres :
$location(mixed) Location config, or null for no bias at all.
immomakler_places_token_ttl
Section intitulée « immomakler_places_token_ttl »Type : Filter
Fichier : src-plus/Search/Places_Autocomplete_Endpoints.php:142
Signature :
apply_filters( 'immomakler_places_token_ttl', Places_Token_Issuer::DEFAULT_TTL )immomakler_radiussearch_geocoding_bias
Section intitulée « immomakler_radiussearch_geocoding_bias »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the rectangle the radius search prefers its centre inside.Fichier : src-plus/Search/Radius_Search.php:543
Signature :
apply_filters( 'immomakler_radiussearch_geocoding_bias', $bounds )Paramètres :
$bounds(array|null) Rectangle asmin_lat,max_lat,min_lng,max_lng, or null for none.
immomakler_single_map_controls
Section intitulée « immomakler_single_map_controls »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the controls a single-map element offers.Fichier : src/Google_Maps/Map_Availability.php:246
Signature :
apply_filters( 'immomakler_single_map_controls', [], $builder )Paramètres :
$controls(array<string,mixed>) Empty list.$builder(string) Builder id.
immomakler_single_map_defaults
Section intitulée « immomakler_single_map_defaults »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the attribute defaults a single-map element declares.Fichier : src/Google_Maps/Map_Availability.php:270
Signature :
apply_filters( 'immomakler_single_map_defaults', [], $builder )Paramètres :
$defaults(array<string,mixed>) Empty list.$builder(string) Builder id.
immomakler_single_map_overrides
Section intitulée « immomakler_single_map_overrides »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the overrides a single-map element’s settings amount to.Fichier : src/Google_Maps/Map_Availability.php:292
Signature :
apply_filters( 'immomakler_single_map_overrides', [], $settings, $builder )Paramètres :
$overrides(array<string,mixed>) Empty list.$settings(array<string,mixed>) The element’s saved settings.$builder(string) Builder id.
immomakler_static_map_attribution
Section intitulée « immomakler_static_map_attribution »Type : Filter
Depuis la version : 5.71.0
Description (tirée du code source, en anglais) :
Filters the attribution printed into a map used as a link preview. Empty for services that draw their attribution into the image themselves, which Google does.Fichier : src/Frontend/Archive/Location_Map_Image.php:508
Signature :
apply_filters( 'immomakler_static_map_attribution', '' )Paramètres :
$attribution(string) Plain text attribution.
immomakler_static_map_url
Section intitulée « immomakler_static_map_url »Type : Filter
Depuis la version : 5.68.0
Description (tirée du code source, en anglais) :
Filters the static-map image URL, so a service other than Google can draw it. The seam exists because this class ships in every edition while the providers are Plus-only:src/ cannot reference src-plus/, so the Plus side hooks in rather than being called. Returning anything other than a non-empty string leaves the Google path untouched, which is why Basic keeps behaving exactly as before.
Whatever comes back is downloaded and cached like any other map image, so the caller cannot tell which service produced it.
Fichier : src/Frontend/Archive/Location_Map_Image.php:451
Signature :
apply_filters( 'immomakler_static_map_url', null, [ 'lat' => $viewport['lat'], 'lng' => $viewport['lng'], 'zoom' => min( 20, $viewport['zoom'] + 1 ), 'size' => self::WIDTH . 'x' . self::HEIGHT, ] )Paramètres :
$url(string|null) Override URL, or null to let Google draw it.$viewport(array) Center, zoom and pixel size of the image wanted.
Autres utilisations :
-
src/Google_Maps/Static_Map.php:272apply_filters( 'immomakler_static_map_url', null, $viewport )