Knowledge Base Category Archives

Category: Troubleshooting

Map tiles (in tabs) are not loaded completely

If your map looks like the example above or if it is embedded in a tab, please enable the option “Tabbed” on backend, which should fix this issue:

0
0
369
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

“Error: map images could not be loaded” is displayed

If you see this error message instead of a map, this can have several reasons:

the most likely one is that the (external) tile server used is currently not available or has temporary issues (e.g. a maintenance window). Unfortunately we do not have direct influence on the availability of external tile servers Maps Marker Pro enables you to connect to in order to display map tiles. From our experience, OpenStreetMap is very reliable and those errors occur very rarely. 

Anyway as also stated in the error message, it could be that there are internet connection issues on the user side, which result in map tiles not being able to load, although the external map tile server is available.

The third reasons for this error – faulty map configuration – is usually only the case if you use custom tile server configurations (e.g. if you added a custom basemap which only shows map tiles for a specific area and you panned your map outside that area).

In case you experience this issue often with one selected tile service provider, you can try switching to another tile service provider for your map.

1
0
497
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

How to fix the incompatibility with the “Geo Redirect” plugin

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.

0
0
375
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Geolocation error: Only secury origins are allowed / https is required

With Chrome 50+, Firefox 55+ and Safari 10+ significant changes to the geolocation support were introduced by the related browser vendors: all applications requesting the current position of the user (not just for Maps Marker Pro´s geolocation feature) are only allowed anymore to retrieve the current position of the user if the site is setup to be delivered securely via https – users will see the following or a similar warning instead:

geolocation-error-info

See more details about this decision by Google at https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only. Geolocation will still work on non-https sites if the users access the site via alternative browsers like Firefox, Safari or Internet Explorer – anyway it could be likely that those browsers will also add a similar security restriction in the future.

Update November 2016: since iOS 10 also Safari 10+ now requires https to support geolocation. The implementation is even more strict than with Google Chrome – geolocation will not work for example if there are mixed-content warnings on your site.

Update 2017: Firefox 55+ also requires https for accessing geolocation (see details)

So if you need the Maps Marker Pro geolocation featue on your site (which with v2.7 even gets more usable as you can sort the list of markers based on the current position of the user), it is strongly advised to migrate your site to https. Some hosters already provide free https certificates from letsencrypt.org for example. For configurations needed within your WordPress site in order to configure it to support https, please have a look at tutorials like https://css-tricks.com/moving-to-https-on-wordpress/.

As https has more advantages for your site than just geolocation working again with Google Chrome 50+ and Safari 10+ (like securing the data integrity, sender authentication and user privacy as well as higher Google ranking as https is used as ranking signal), we strongly advise to switch your site to https only if you haven´t done so yet.

If you switched your site to https and still get a geolocation error (like “Geolocation error: user denied geolocation”), please check your device´s location settings if it is allowed for apps/web sites to retrieve the geolocation.

2
0
2508
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

How to resolve the incompatibility with the Enfold theme by kriesi.at

Update 28. October 2016: the following workaround is not needed anymore if you are using Maps Marker Pro v2.8, Leaflet Maps Marker v3.11 or greater.

The popuplar Enfold theme by kriesi.at enqueues Google javascript on all admin pages, resulting in Google Autocomplete API (=address search) to break. To fix this, you have to completely disable the mapping functionality added by the theme:

open wp-content/themes/enfold/functions.php (respectively the functions.php from your child theme if you are using one) and add the following code at the bottom:

add_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1);
function disable_google_map_api($load_google_map_api) {
        $load_google_map_api = false;
        return $load_google_map_api;
}

More infos at http://www.kriesi.at/support/topic/google-maps-element-javascript-conflict-with-maps-marker-pro-plugin/

0
0
679
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

I do not see plugin update notifications about new versions

The Maps Marker Pro plugin checks every 12 hours if a new version is available. You can also manually trigger the update check by going to Plugins and clicking on the link “Manually check for updates” next to “Maps Marker Pro”:

manual-update-check

If you do not see the link “Manually check for updates” or clicking on it does not show the latest version available, please proceed as follows:

Please first check if you are using v1.5.9 or v1.6. With v1.5.9 delivery of plugin updates via SSL was added to increase security. Unfortunately we found that although this features works fine, there might be issues on servers with outdated or incomplete SSL libraries. This can prevent your plugin to communicate with mapsmarker.com to check for new plugin updates.

To fix this, please manually update to the latest version, which includes a workaround for those servers. To manually update your plugin, please download the latest package from https://mapsmarker.com/download-pro, unzip the plugin package and copy the files from the unpacked folder /leaflet-maps-marker-pro/ to your server via FTP, overwritting all files and subdirectories in the directory youdomain.com/wp-content/plugins/leaflet-maps-marker-pro/

Please note: if you would uninstall and reinstall the plugin through the WordPress admin interface, all created maps would get deleted on uninstall, so please do a manual update via FTP if you have already created some maps!

If updating to the latest version did not solve the issue, please ask your hoster for help. There might be special security precautions preventing your server from communicating directly with https://www.mapsmarker.com (GET requests, Port 443)

It could also be that your server only allows direct connection through a proxy (you can verify this if you are not receiving any WordPress core or plugin updates). If this is the case, the proxy server has to be configured in wp-config.php (please ask your hoster for details about your proxy):

define('WP_PROXY_HOST', '192.168.xx.xxx');
define('WP_PROXY_PORT', '8080');
define('WP_PROXY_USERNAME', 'my_user_name');
define('WP_PROXY_PASSWORD', 'my_password');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');

If you are not using a proxy, and still not see the that there is a new plugin version available, please install the debug bar plugin from https://wordpress.org/extend/plugins/debug-bar/. This plugin allows you to debug the communication to the update server on mapsmarker.com. After activation of this plugin, click on Debug in the admin bar and select PUC (leaflet-maps-marker-pro) from the sidebar. Afterwards you can check the communication with the update server by clicking on the buttons Request Info and Check now:

debug-bar-steps

If you or your hoster cannot help you with the information retrieved from the debug bar plugin either, please open a support ticket and we will be glad to help you solving your issue!

2
0
850
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

“Error: a new local license key could not be obtained.” is shown after license activation

connect-error

If you see the error above after trying to activate your license key on the license settings page, this means that your server could not connect to https://www.mapsmarker.com for the license validation.

Please ask your hoster for help here. There might be special security precautions preventing your server from communicating directly with https://www.mapsmarker.com (GET requests, Port 443)

It could also be that your server only allows direct connection through a proxy (you can verify this if you are not receiving any WordPress core or plugin updates). If this is the case, the proxy server has to be configured in wp-config.php (please ask your hoster for details about your proxy):

define('WP_PROXY_HOST', '192.168.xx.xxx');
define('WP_PROXY_PORT', '8080');
define('WP_PROXY_USERNAME', 'my_user_name');
define('WP_PROXY_PASSWORD', 'my_password');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');

If that also does not help, please open a support ticket and we will be glad to help you solving your issue!

0
0
442
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

When saving a marker I get the error “a marker with the ID 0 does not exist!”

This FAQ is only valid for Maps Marker Pro v3.1.1 or lower:

Please check if the database tables needed for Maps Marker Pro have been created by logging into your database tool (usually phpmyadmin) and checking if the tables

  • wp_leafletmapsmarker_markers and
  • wp_leafletmapsmarker_layers

exist. If yes, please turn on WordPress debugging (by adding define(‘WP_DEBUG’, true); to wp-config.php), also have a look into the PHP error log if possible and open a support ticket with the logged results.

0
0
381
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

starting point when using Google Maps directions is incorrect

By default Google Maps is used as directions provider for the directions link in the map panel and for the directions link added to the popuptext of each marker.

If you entered an address for your location, this address will be used for directions starting point, if you only entered latitude and logitude coordinates (and address field is empty), these coordinates are used as starting point for directions.

If you notice that your starting point on the opened Google Maps is incorrect, than is because Google by default always calculates the directions by using car as preferred transport method. So the nearest place to your location that can be reached by car is taken as starting point automatically.

Unfortunately this cannot be fixed on Google Maps, as this is not a bug but a feature 😉 – anyway there are several ways to deal with this issue:

– if you only rely on walking directions, you can navigate to Settings / directions settings / Google Maps directions settings and check the checkbox “Walking directions”.

– if that is not an option for you (roads for cars will be ignored with this direction), please navigate to Settings / directions settings / general directions settings and set a different directions provider like bing maps, which takes exactly the coordinates of your location and does not change the starting point.

0
1
1859
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

HTML5 fullscreen mode does not work for maps in iframes

If you embedd a map with an iframe-tag, you have to add the following code to this tag for HTLM5-fullscreen-mode (pro version only) to work:

allowfullscreen=”true” mozallowfullscreen=”true” webkitallowfullscreen=”true”

0
0
655
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.