Category: GPX tracks
WordPress 4.7.1 introduced a bug that can cause this error. We have included a workaround for this in Maps Marker Pro v4.3, so updating to the latest version should fix the problem.
If you are on v4.3 or later and still get this error, it is most likely a problem with the GPX file itself. WordPress checks if the contents of a file match its reported MIME type and rejects the upload if they do not. Since GPX files are technically XML files, a valid XML header needs to be present. This means when you open the file with a text editor, the first line should look similar to this:
<?xml version="1.0" encoding="UTF-8" ?>
If that is not the case, adding the line should resolve the error.
Alternatively, although not recommended for security reasons, you can disable the MIME type check by adding the following code to your wp-config.php:
If you are still experiencing issues, please open a support ticket and attach your GPX file.
If your fitness trackers (like garmin fit) allows exporting recorded tracks as GPX format, those files can usually be also displayed on maps with Maps Marker Pro.
In order to display those tracks, create a new map, switch to the tab “GPX” and start by clicking on the “Open Media Library” button:
As next step switch to tab “Upload files”, select and upload your gpx file, finish by clicking the button “Choose”:
As a result, the GPX track is displayed on the map and you can optionally further customize its settings (switching to advanced editor for all options is recommended):
You can only add one GPX file to a map – if you want to show multiple GPX tracks on one map, you have to merge those files first – you can use the online tool at https://www.gpsvisualizer.com/convert_input for this purpose:
(Upload the GPX files you want to merge and click on Convert).
Since v4.0 though multiple tracks within one GPX files are also supported and can be selected by the related controlbox in the elevation chart:
Since v4.3 we added polyline support which allows you to draw directly on your maps by using geometry layers like polylines, polygons, circles and rectangles directly on your maps:
Please see the following animation on how polylines can be edited (animation with courtesy of Sumit Kunar – just be aware that the marker adding functionality as seen in the animation is not supported in Maps Marker Pro – if you want to add a marker, please use the “add marker” feature):