Leaflet maps not showing up
-
Hi,
I moved my site to another server end found that the (Google) maps do not work anymore on the home and “Docenten” page. Curiously they DO show up on the single page of the post.
Did the API testing tool which gives me “REQUEST_DENIED – API keys with referer restrictions cannot be used with this API.“
However, I do not want to use Google anymore so I switched over to Leaflet with Nominatim (OSM)After clearing (and disabling) all caches the result is the same: no searchform and map on the home and docenten pages.
I use the following shortcodes on the home page:
[gmw search_form=”1″]
[gmw search_results=1]
The site runs on a Litespeed server with PHP 8.5 and the Divi 5 theme.
The theme’s functions.php contains:
add_filter( ‘split_the_query’, ‘__return_false’ );Can you advise me?
Reagrds, Han Leentvaar
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.