Maps Marker Pro v4.0-RC6 is available

Posted on 12 October, 2018

Category:

Pro-Version Beta Releases

Maps Marker Pro v4.0-RC6 has just been released – thanks to all beta testers for your feedback & to all translators for the translation updates!

Version 4.0 of Maps Marker Pro features a complete object-oriented rewrite of the codebase. While this process took quite a few months to complete, the long-term benefits are absolutely worth it. Not only does the new code dramatically decrease load times and enhance security, but it also makes it much easier for us to fix bugs or implement new features.

Please be aware of some profound changes:

  • 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 JS library QR code generator

Changes since v4.0-RC5:

  • add missing translations for backend
  • add custom layers table to backup/restore
  • add missing ajax error messages
  • reduce memory usage when retrieving map markers
  • reduce memory usage when exporting markers
  • show only published posts in used-in-content list
  • show filename as hover text for icons
  • only center GPX track when update button is clicked
  • trigger GPX update when selecting file from library
  • only show option to restore settings to all sites on multisite installations
  • optimize API class
  • optimize Settings class
  • optimize Update class
  • optimize backend javascript files
  • improve pagination looks on maps/markers page
  • remove unused icons
  • replace reset function with link to tools on settings page
  • separate plugin language settings
  • fix installation on WordPress MultiSite subsites
  • fix downloading external GPX files
  • fix broken elevation charts in IE11
  • fix temp cleanup cron
  • translate user roles (if available)
  • updated translations

The following feature has not been ported yet and will be added with v4.1:

  • REST API

Important: if you update from 4.0-beta1, 4.0-beta2 or 4.0-beta3, please manually deactivate and activate 4.0-RC6 once after the update on the plugins page, so that the new capability system gets initiated!

Let us you think about this new release & send your feedback by using our helpdesk (prefered) or directly via email to feedback@mapsmarker.com.

how to update to 4.0-RC6

To avoid loss of data, please do not use beta versions for production sites and do not delete version 3.1.1 until 4.0 has been released, as more fundamental changes might be necessary!

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-RC1.

After update to v3.1.1-RC1 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-RC1) before activating “Maps Marker Pro” (v4.0-RC6):

After activating v4.0-RC6, you will see an admin notice which will take you to the data migration tool page:

Starting with Maps Marker Pro 4.0, marker maps have been deprecated, but can still be used for backwards compatibility. However, additional shortcode attributes are needed in order to make them look the same. Due to the high risk of doing this programmatically, we require you to replace these shortcodes manually. Start the migration check to get a list of used marker maps and their updated shortcodes. Only shortcodes in posts and pages can be detected, so please also check if you are using any shortcodes in widgets or other places. Start this check by clicking on the button “Check migration”:

If you are using marker shortcodes in your posts or pages, you will be shown a list of a table of results:

As next step, click on “Start migration” (to migrate your map data from the old to the new database schema).

After (automatic) migration is finished, you will see the message “Data migration completed successfully”:

Afterwards use the edit link for each marker shortcode appearance and replace the marker shortcode in related content with the shortcode from the row “New shortcode”. Example: the post “Events” from the screenshot above uses the shortcode [mapsmarker marker="1"] – this has to be replaced with [mapsmarker marker="1" basemapDefault="osm" width="640" widthUnit="px" height="480" panel="true"] once.

Please do not delete Maps Marker Pro 3.1.1 until you have verified that all data has been migrated correctly. We also recommend to make a backup of the wp_current_leafletmapsmarker_layers and wp_current_leafletmapsmarker_markers database tables, to be able to run the migration again at a later point, should it become necessary.

That´s it – now you can start using Maps Marker Pro v4.0-RC6.

how to install 4.0-RC6 from scratch

For directly downloading and installing the v4.0-RC6 package as zip file, please click here.

For an archive of all available releases, 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-RC1

If you want to use v3.1.1-RC1 again, please first deactivate Maps Marker Pro v4.0-RC6 and then activate Maps Marker Pro v3.1.1-RC1 again.

Please be aware that any maps which have been created with Maps Marker Prov 4.0-RC6 will not be visible with Maps Marker Pro v3.1.1-RC1, as a complete new database schema is used!