The plugin “Geo redirect” allows you to redirect your visitors or switch language according to their country. Unfortunately there hasnt been an update since 2013 and using this plugin together with Maps Marker Pro is causing layer maps to break (as also the leaflet-geojson.php call which is needed to load the markers is redirected.
To fix this, please open the file /wp-content/plugin/geographical-redirect/geo-redirect.php
The find the code
public function checkIfRedirectNeeded()
{
if (!is_array($this->geo_redirect_data))
return;
and replace it with
public function checkIfRedirectNeeded()
{
//info: do not redirect Maps Marker Pro requests
$request_uri = $this->request_uri;
if (stripos($request_uri, 'geojson') !== FALSE) {
return;
}
if (!is_array($this->geo_redirect_data))
return;
and save the file. As a result, layer maps should be working again.