We are happy to announce that Maps Marker Pro v4.0-beta1 is finally available.
Please be aware of some profound changes (see full changelog below for more details – full release notes will follow with v4.0 final):
- changes to map concept: with v4.0 only maps and markers will be available anymore (the term layer maps is no longer used; marker maps cannot be created anymore – existing marker maps will be migrated).
- support for gpx elevation charts and waypoints has been added
- Leaflet.GestureHandling support has been added (Brings the basic functionality of Maps Gesture Handling into Leaflet and prevents users from getting trapped on the map when scrolling a long page).
- all settings for “Map defaults” in the Settings area have been removed – you can use the link “Save current values as defaults for new maps” instead when created a new map
- options to display the list of markers right or left to a layer map has been added
- MapQuest basemap support has been removed (due to MapQuest basemaps now requiring their own API, making them incompatible to be implemented into a standard Leaflet installation; existing MapQuest maps will be switched to OpenStreetMap automatically)
- (retired) Wikitude augmented reality API has been replaced with layar.com API
- (retired) Visualead QR code generator has been replaced with local QR code generator BaconQrCode
The design and interface on backend is also not final yet – the current focus is to test the new features and optimized code.
Anyway we do not recommend using v4.0-beta1 on production sites, as this is a first beta version and especially as the following features have not been ported yet (but will be added with future v4.0 beta releases):
- custom overlays
- custom basemaps
- WMS layers
- CSV/XLS(X)/OS import and
Please also be aware that future beta-releases might require to re-run the migration tool for migrating maps from v3.1.1-beta1, which will reset any changes made since v4.0-beta1 has been installed!
Know issues (help would be appreciated!)
- Google Mutant: iOS links in popuptext not clickable – see https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant/issues/42 for details
- Gesture Handling Plugin does not support translations yet (details)
Please also do not delete v3.1.1 at least unless v4.0 final is available, as there still might be changes to the database structure and the need to re-run the migration tool to update your data!
Development changelog for version 4.0
|complete rewrite / refactorization of the code base from procedural to object oriented|
|decreased download size for marker data, allowing for up to 75% faster map loading|
|upgraded leaflet.js ("the engine of Maps Marker Pro") from v1.0.3 to v1.3.1 including optimizations and bugfixes - please see blog post on leafletjs.com and full changelog for more details|
|support for gpx elevation charts and waypoints|
|options to display the list of markers right or left to a layer map|
|Leaflet.GestureHandling support (prevents users from getting trapped on the map when scrolling a long page)|
|(retired) Wikitude augmented reality API has been replaced with layar.com API|
|fractional zoom support (new interaction options: zoomDelta and zoomSnap)|
|support for Google Traffic and Google Transit layers (disabled by default)|
|possibility to override global settings for each map by using new shortcode parameters|
|batch selection buttons (all/none) for layers in filter controlbox|
|support for minNativeZoom for mapbox and custom basemaps (tiles on all zoom levels lower than minimum zoom level will be loaded from minNativeZoom level and auto-scaled)|
|API dashboard for Photon@Mapsmarker geocoding at https://www.mapsmarker.com/photon showing the API usage of the last hour|
|Relaunched! Our new website is live|
|automatically parse map shortcodes in category & post tag description and term fields|
|options to change position of zoom and basemap control box|
|option to add existing markers to maps added with shortcodes only (e.g. |
|improved performance by reducing the number of database queries needed and the use of caches where possible|
|optimized CSS & JS loading mechanism resulting in load time reduction of up to 20%|
|Photon@Mapsmarker: show streetnames+housenumbers for geocoding results if available|
|removed MapQuest basemap support (due to MapQuest basemaps now requiring their own API, making them incompatible to be implemented into a standard Leaflet installation; existing MapQuest maps will be switched to OpenStreetMap automatically)|
|removed six compatibility checks for plugins/themes which are not needed anymore due to Maps Marker Pro 4.0 rewrite|
|removed settings for (depreciated) mobile web app launch images and add simplified support for web app icons|
|replaced (retired) Visualead QR code generator with local QR code generator BaconQrCode|
|disabled tooltips by default on mobile devices as hover event is not available (thx Dirk!)|
|set interaction option "tap" to false by default to prevent issues with scrolling over maps on mobile devices (thx Thomas!)|
|increased rate limit for Photon@MapsMarker geocoding from 5.000 to 10.000 requests per day and from 10 to 20 requests per second|
|load map tiles for OSM Black&White and DE variant via https to prevent mixed-content warnings (thx Annette!)|
|reduced timeouts for license API fallback calls to prevent issues on sites with connection issues|
|update leaflet-locatecontrol from v0.58 to v0.62 (includes bugfixes & leaflet 1.1.0 compatibility)|
|update leaflet-fullscreen codebase (support AMD and Node/CommonJS module systems, thx mpschaeuble!)|
|updated minimap addon from v3.4.0 to v3.5.0 (support for miminize/restore events - release notes)|
|optimized plugin folder structure (some plugin compatibility configs might need to be re-applied)|
|updated Algolia autocomplete.js from v0.21.7 to v0.28.2 (changelog)|
|updated es6-promise for IE11/Google Mutant from v4.1.0 to v4.1.1 (bugfix release)|
|updated Leaflet.MarkerCluster.LayerSupport from v1.0.3 to v1.0.4 (fixing issues with chunkedLoading)|
|do not strip |
|updated EdgeBuffer plugin for pre-loading tiles beyond the edge of the visible map to v1.0.6|
|updated compatibility check for WP Rocket 2.10.x|
|switch loading of custom basemap 2 (OpenMapSurfer) tiles from http to https|
|shortcode parsing for WordPress audio and video tags in popups on layer maps was broken if wp_keses() was enabled|
|list of markers: show entries only once if marker is assigned to several layers|
|XML validation for GPX file downloads could return wrong results (thx Johannes!)|
|XLSX/ODS/CSV importer: wrong error message if lat or lon values was out of range or layer was not found|
|activation & deactivation functions were not processed since v3.0|
|broken bing maps on edit layer pages due to missing double quotes for errorTileURL|
|broken permalink compatibility check returning wrong URL|
|incorrect marker count on list of markers when using multi-layer-maps|
|incorrect content-type when using callback for GeoJSON|
|replaced broken default custom overlay 3+4 (OpenWeatherMap, API key needed) with Waymarked Trails Mountainbike & Riding|
|replaced broken WMS layers 3 & 8 from European Environment Agency with "Lake bathing water monitoring" and "NOx emissions from road transport"|
|WebAPI: display of results for layer update action in XML format was broken|
|WPML/Polylang: missing string registration for translatable elements if importer is used (thx Laurent!)|
|admin dashboard widget could be broken if PHP 7.1+ was used|
|OOM error during SPBAS local key validation|
|do not strip input tags from popuptexts if option "HTML filter for popuptexts (wp_kses)" is enabled|
|manual selection of Slovenian as interface language was broken (thx Igor!)|
|Low impact: admin authenticated SQL injection vulnerability on "tools" page (thx to safflower via Maps Marker Pro´s hackerone bug bounty program)|
|Low impact: reflected & persistent XSS in XML WebAPI for layer actions (thx to foobar7 via Maps Marker Pro´s hackerone bug bounty program)|
|Low impact: admin authenticated persistent XSS on edit marker and edit layer pages (thx to alir57 via Maps Marker Pro´s hackerone bug bounty program)|
|improved: global sanitation check for settings array instead of individual output filtering|
|updated German translation||→ contribute|
how to update to 4.0-beta1
Warning: it is not recommended to install 4.0-beta1 on production sites! In addition we recommend to backup your site (especially the database) regularly so in case of an issue with this beta release you can always perform a full rollback if needed!
As technically speaking Maps Marker Pro 4.0 is a new plugin, the update process is a bit different than usually:
In order to be able to update to this beta release, you first have to set beta-testing in Settings / Misc to enabled:
As next step after saving your settings, navigate to Plugins and click on the link “Manually check for updates” next to “Maps Marker Pro”:
As next step click on the link “Update now” to update to v3.1.1-beta1.
After update to v3.1.1-beta1 is finished, you are ready to start the installation of “Maps Marker Pro” 4.0 as new plugin. So please click “please click here for more information” to proceed to the next step:
This will take you to the “Update to Maps Marker Pro 4” page. Start the installation as new plugin by clicking on the button “Sounds good! I want to update to Maps Marker Pro 4 now!”:
After the plugin has been installed, please first deactivate “Maps Marker Pro” (v3.1.1-beta1) before activating “Maps Marker Pro” (v4.0-beta1):
After activating v4.0-beta1, you will see an admin notice which will take you to the data migration tool page:
As next step, please start the datamigration by clicking the button “Start Migration”:
After migration is finished, you will see the message “Data migration completed successfully”:
That´s it – now you can start using Maps Marker Pro v4.0-beta1.
Please do not delete v3.1.1 at least unless v4.0 final is available, as there still might be changes to the database structure and the need to re-run the migration tool to update your data!
how to install 4.0-beta1 from scratch
For directly downloading and installing the v4.0-beta1 package as zip file, please click here.
Please make sure to also set beta-testing in Settings / Misc to enabled to get notified about future beta releases!
how to rollback to v3.1.1-beta1
If you want to use v3.1.1-beta1 again, please first deactivate Maps Marker Pro v4.0-beta1 and then activate Maps Marker Pro v3.1.1-beta1 again.
Please be aware that any maps which have been created with Maps Marker Prov 4.0-beta1 will not be visible with Maps Marker Pro v3.1.1-beta1, as a complete new database schema is used!