Table of Contents
Block is available only on Posts Search Results special page.
Displays relevant blog Posts on the map automatically based on the current page. on the Search Results page are displayed only Item Posts appropriate to the search keyword, category, or location
Block settings in sidebar
From the sidebar settings of the block, you can select the provider of the map. Available is the selection between Google Maps and OpenStreetMaps. It’s up to you which one is preferred for your website. Additionally can be selected theme of the map under Appearance options for both Google and OpenStreetMaps providers. Read more about available color themes.
Using toggle “With search form” can be turned on search bar directly on the map. The search bar is intended to search through blog Posts based on defined keywords or selected Post Category and Post Location.
Custom height settings
The height of the map can be customized in px, vw, and vh units. In case when the map block is inserted inside the WordPress Column block, option Cover Height can be enabled which fits the map height to the height of the column itself.
Note that the height value for the map is recommended height, the minimal height of the map may differ due to the needs of the content displayed in the map (ie. Search Form Block inside the map).
Empty map settings
In a situation when there is nothing to show on the map, you can decide what to do with an empty map. Available are options to show empty maps zoomed to the whole world, optionally covered with custom information text, or remove a map from the page at all.