Pro-Preview: backup and restore of settings

Pro version 1.0 (which is planned to be released by mid of July) will also allow you to backup and restore your settings:

preview-backup-restore-settings

This will make it possible to quickly switch between different plugin profiles which will make it easier especially for users who want to deploy the plugin with custom configuration on multiple sites.

Backup of marker and layer maps is also on the roadmap for a later pro release (as I also plan to add an import feature which takes more time in developing).

If you want to keep up to date with the latest Maps Marker development, please follow @MapsMarker on twitter, on Facebook, Google+ or subscribe to news via RSS or via RSS/email.

v3.5.3 – reduced memory usage, increased usability plus 2 new translations – is available

Actually I planned to release v3.6 together with the pro edition of my plugin v1.0 which I am currently working on. Anyway as I am a bit behind schedule for pro version (as I try to keep quality high) and as I could finish some exciting new features and optimizations, I decided to make a quick 3.5.3 release so that the changelog for v3.6 and pro v1.0 doesn´t get too long ;-) .

If you want to keep up to date with the latest Maps Marker development, please follow @MapsMarker on twitter, on Facebook, Google+ or subscribe to news via RSS or via RSS/email. A preview of already finished pro features can be found here.

One personal request: as WordPress added a new review feature for plugins hosted on wordpress.org, I kindly invite you to leave your opinion about my plugin at http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker.

And now let´s get into the highlights of v3.5.3:

drastically reduced PHP memory usage on admin pages

With the help of Yakir Sitbon (www.yakirs.net) I could finally find a solution for a backend issue which has been bothering me for a long while: as the amount of available options on my settings page is quite huge, the PHP memory usage was also very high. Now I finally found a way to load the settings class only when it is needed on backend too (frontend optimization has already been added with v3.5.1).

This results in about 8MB less PHP memory usage on all backend pages (except on my plugin settings page of course :-) )

automatic redirect to maps after saving and editor switch for enhanced usability

Thanks to Pat I also optimized the handling of marker and layer maps in the backend: after saving a map or switching the editor (simple/advanced), you are now getting redirected to the page you were viewing before.

duplicate save buttons on top of edit pages for enhanced usability

Another idea Pat brought up was to add an additional update button on top of marker and layer maps in backend: this reduces the need to scroll down to save if you only want to change the title for example.

On layer maps, the button “add new marker to layer” was also added on top of the page – I hope that this will make the concept of marker/layer maps for new users clearer:

button-top

fixed WMS layer “public toilets in Vienna”

The city of Vienna, which is offering lots of their data as opendata at http://data.wien.gv.at changed the ID of their public toilets WMS layer which I use as default in my plugin to demonstrate WMS capabilities. I didn´t overwrite this setting for existing users (as customizations would also be lost then) – so if this WMS layer is not working on your installation, please navigate to Settings / WMS / WMS layer 1 settings and change “Layers” from OEFFWCOGD to WCANLAGEOGD.

Other changes/optimizations

  • Compatibility check for Daily Stat plugin (which is causing settings page to break)
  • compatibility check for Lazy Load plugin now only shows warning if javascript inclusion is set to header or WordPress <3.3 is used

Bugfixes

  • warning message on login screen with debug enabled when custom plugin translation was set
  • update pointer was broken if translations with apostrophes were loaded (thx joke2k!)
  • PHP warning message for maps added directly via shortcode ($address is undefined)
  • KML validation issues (thanks braindeadave!)

Translations updates

Thanks to many motivated contributors, v3.5.3 comes with the following translation updates:

New translations

Updated translations

If you want to contribute to translations (Persian would be great ;-) ), please visit http://translate.mapsmarker.com/projects/lmm for more information.

Outlook – my plans for the next release

I am still working on the pro version which is planned to be released before summer. Please subscribe to this blog (via RSS or Email) or follow @MapsMarker on twitter if you want to stay up to date. See these posts for previews of features already finished.

Full changelog (show previous changelogs)

Chinese (zh_TW) translation thanks to jamesho Ho, http://outdooraccident.org
Romanian (ro_RO) translation thanks to Daniel Codrea, http://www.inadcod.com
automatic redirect to maps after saving and editor switch for enhanced usability (thx Pat!)
duplicate save buttons on top of edit pages for enhanced usability (thx Pat!)
Compatibility check for Daily Stat plugin (which is causing settings page to break)
drastically reduced php memory usage on admin pages (about 8MB on average)
compatibility check for Lazy Load plugin now only shows warning if javascript inclusion is set to header or WordPress <3.3 is used
fixed WMS layer “public toilets in Vienna” (only for new installs – change name to WCANLAGEOGD on existing installations manually or reset settings)
warning message on login screen with debug enabled when custom plugin translation was set
update pointer was broken if translations with apostrophes were loaded (thx joke2k!)
PHP warning message for maps added directly via shortcode ($address is undefined)
KML validation issues (thanks braindeadave!)
updated Bengali translation thanks to Nur Hasan, http://www.answersbd.com
updated Italian translation thanks to Luca Barbetti, http://twitter.com/okibone
updated Polish translation thanks to Tomasz Rudnicki, http://www.kochambieszczady.pl
updated Catalan translation thanks to Efraim Bayarri, http://replicantsfactory.com and Vicent Cubells, http://vcubells.net
updated German translation

How to download / update 

You can download the latest version here. The easiest way to update is to use the WordPress update process: login with an user who has admin privileges, navigate to Dashboard / Updates, select plugins to update and press the button “Update Plugins”. Alternatively you can also download the current version here, unzip the package and overwrite the plugin´s files on your webserver.

New website section: reviews (add yours too!)

So far Leaflet Maps Marker has received 142 ratings & 67 reviews – many thanks! Till now, especially reviews were only visible on my plugin page of WordPress.org.

As your reviews keep me motivated on improving the plugin even further and hopefully getting out the pro version 1.0 soon :-) , I decided to also display the reviews on a separate page on mapsmarker.com.

You also see random rotating reviews right below the download button in the sidebar (look on the right) ——————————————————————————>

I also fixed some bugs on mapsmarker.com (scroll bar was black with Google Chrome for example) and optimized the load time of the frontpage (demo) by replacing some maps with static images.

If you have an suggestions on how to improve the website mapsmarker.com, let me know!

Pro-Preview: HTML5 fullscreen maps

With the pro version you will be able to add a fullscreen button to maps – thanks mapbox for this wonderful leaflet plugin! Clicking on this button will open the map in fullscreen view via HTML5 fullscreen API:

help-fullscreen

This button will be enabled by default and can be disabled through a new option within Settings / Map defaults / control options:

preview-fullscreen

For a live demo of the new HTML5 fullscreen mode please visit http://pro.mapsmarker.com/?p=11

Update 17.3.2013: using the fullscreen plugin from mapbox instead – should be working on all browsers now.

Pro-Preview: custom Google Maps styling

The pro version will allow you to customize the presentation of the standard Google base maps, changing the visual display of such elements as roads, parks, and built-up areas. Below an example with roads hidden:

pro-preview-styling

Configuring these styles can easily be done by using the Google Maps styled wizard – you can preview the styles you would like to use there and if finished, copy the JSON array into the new option field under Settings / Google / Google Maps styling:

setting-styling

For more live demos on Google styling please visit http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/examplestyles.html

Pro-Preview: mobile web app support for fullscreen maps

Fullscreen maps will be optimized for mobile devices in the pro version – not only by using native javascript instead of jquery but also by considering the viewport of the device used for example. Below a screenshot of a fullscreen map on a Nexus 4 with Android 4.2.2:

viewport-preview-android

It will also be possible on iOS devices to save the link to the fullscreen map to the homescreen and reopen the map – with an optional launch image as web app – meaning the display of the map in fullscreen mode with no address bar:

help-webapp

As always, the configurations for this new feature can be made through the settings panel:

webapp-settings

Stay tuned for more exciting new features :-)

If you want to keep up to date with the latest Maps Marker development, please follow @MapsMarker on twitter, on Facebook or Google+

Pro-Preview: mobile optimized maps through use of native javascript instead of jQuery

nojqueryjQuery is great and used a lot in my plugin: it helps delivering a great user experience when creating maps on the admin side and was also used on frontend for responsive maps for example.

A disadvantage of using jQuery is that the framework is about 90k unzipped big and needs lots of ressources – especially on mobile devices. This is why for the pro version I rewrote the frontend code to use native javascript instead of jQuery for the needed functions. As a result – and together with the implementation of Leaflet 0.5.1 – maps will be loaded much faster with the pro version – especially on mobile devices.

Please check for yourself to see the improvements here:

Pro-Preview: QR codes with custom backgrounds thanks to Visualead.com

QR codes will also get enhanced with the next release: the free version will use the QR provider Visualead.com as new default, which allows using custom backgrounds for QR codes:

qr-visualead-preview

The pro version will also allow changing the background image through the settings panel:

qr-settings

If you´d like to stick to the old QR code provided by Google, you will be able do so by selecting Google as QR code provider.

The current plan is to release v1.0 by April – so please be patient – I am sure it will be worth waiting :-)