In Events Manager settings look for the section “Google Maps and Location Services” and change “Enable Google Maps integration?” to “No”.
I did this already, but the Website still connects to Maps in its sources . My assumption is, that the search of events manager still uses Google maps. So how can I deactivate the loading of google maps in the background completely?
If I look at one of your events (ie: this), I see an OpenStreetMap in the main body (likely generated by Events Manager), but what looks like a Google map in the sidebar. Are you embedding content in your pages from another website (like maybe extremetrail-nrw.de) that might be providing the maps content?
You can see the effects on any page with the Events Manager search bar: take the home page as an example. There is still google maps as source loaded although I do not use google maps with events manager. That is why I think that you still use google maps for the search (for the “near by”.
And the new drop down in the search bar, that allows the display in maps has to be removable because it does not work when I do not use google maps.
So once again my original question: 1. How can I remove google maps completely from my website (especially from the pages with events manager search bar)? Because if you want to be compliant to GDBR those sources may only be loaded after the user agreed to it. (And I haven’t found Cookie consent plugins that remove it)
2. How can I remove the “maps”
Display option from the new drop down option in the event-search-bar?
Okay, I see what you’re getting at more precisely now.
You can possibly avoid GDBR legal issues by disabling Google Maps integration, as described previously – testing this appears to remove the Google API from the page source (even if it doesn’t remove from the source the Geolocation javascript that would normally use the API). One would hope that without the API, the script isn’t actually communicating with Google, and therefore not compromising anyone’s privacy. (Admittedly, hope alone likely isn’t sufficient assurance…)
As far as removing the Maps functions from the search bar – I haven’t been able to locate any shortcode parameters or arguments for [location_search_form] in the documentation, except for ajax. Perhaps there’s a way to modify the style using functions, but I haven’t dug into that.
A temporary (partial) workaround, maybe, is to use CSS to hide the ‘View Types’ button class (em-search-views).