Leaflet Maps Marker v2.6 is available

Posted on 18 July, 2012

Category:

Free-Version Releases
Attention: this is not the changelog for the latest stable version 4.28 (see related release notes)

This release not only focuses on optimizations and bugfixes for the newly introduced Google Maps support in v2.5, but also offers support for bing maps as basemaps, new translations and other optimizations. Here´s what´s new in detail:

support for bing maps as basemaps

You can now also select bing maps from Microsoft as basemaps for your marker and layer maps. Here is a demo (please switch to one of the bing maps from the controlbox):

Error: map could not be loaded - a marker with ID 19 does not exist. Please contact the site owner.

Please be aware, that an API key is required – please follow these instructions for how to get one and how to activate bing basemap support within your plugin settings.

configure marker attributes to show in marker list below layer maps (icon, marker name, popuptext)

You now can define which marker attributes are visible in the list of markers below layer maps:

You will find this new option under Settings / Layer Defaults / “List marker settings”

Thanks to Isabella for this feedback!

option to use Google Maps (Terrain) as basemap

With v2.6 the plugin also supports Google Terrain maps as basemap, demo:

Error: map could not be loaded - a marker with ID 21 does not exist. Please contact the site owner.

option to add Google Maps API key (required for commercial usage)

Georg gave me the hint on a comment on http://www.projektq7-webworker.de/leaflet-maps-marker-version-2-3-u-2-4/ that commercial users of Google Maps need to use an API key if they want to apply to the Google terms of usage.

I therefore implemented a new setting under Settings / Google (which I renamed from Google Places) which allows you to enter your API key:

Please also see https://www.mapsmarker.com/google-maps-api-key for more details.

Translations updates

Thanks to many motivated contributors, v2.6 comes with the following translation updates:

New translations:

Updated translations:

If you want to contribute to translations, please visit http://translate.mapsmarker.com/projects/lmm for more information.

Added compatibility check for plugin WordPress Better Minify

Through a support request I discovered a incompatibility with the plugin WordPress Better Minify, causing Leaflet Maps Marker to break. I therefore enhanced the integrated compatibility check with instructions how to solve this (you will see a notice with the plugins settings if this plugin is active on your site).

increased Google Maps maximal zoom level from 18 to 22

The maximum zoom level for Google Maps introduced with v2.5 has been increased from 18 to 22 – this allows you to display much more detailed maps.

Before (zoom level 18):

After (zoom level 22):

changed the way Google Maps API is called in order to prevent errors with unset sensor parameter when using certain proxy servers

Thanks to Dragan I changed the way the Google Maps scripts get loaded. The old way caused problems on sites using certain proxy servers – resulting in the error
“The Google Maps API server rejected your request. The “sensor” parameter specified in the request must be set to either “true” or “false”.” This should now be fixed.

maps using Google Maps Satellite as basemaps were broken

Marker and layer maps using the newly introduced Google Maps Satellite basemap were broken (although maps showed up on creating those maps – the problem was that each subsequent call lead to a grey map). v2.6 fixes this issue and sets the correct basemap name for all existing marker and layer maps using Google Maps Satellite as basemap.

fixed vertical alignment of basemaps in layer control box in backend

Just a small design bugfix which caused available basemaps in the layer controlbox not to be aligned with the radio buttons

Full changelog

  • NEW: support for bing maps as basemaps (API key required)
  • NEW: configure marker attributes to show in marker list below layer maps (icon, marker name, popuptext)
  • NEW: option to use Google Maps (Terrain) as basemap
  • NEW: option to add Google Maps API key (required for commercial usage) – see https://www.mapsmarker.com/google-maps-api-key for more details
  • NEW: Hindi translation thanks to Outshine Solutions, http://outshinesolutions.com and Guntupalli Karunakar, http://indlinux.org
  • NEW: Yiddish translation thanks to Raphael Finkel, http://www.cs.uky.edu/~raphael/yiddish.html
  • NEW: Catalan translation thanks to Vicent Cubells, http://vcubells.net
  • NEW: Added compatibility check for plugin WordPress Better Minify
  • CHANGED: increased Google Maps maximal zoom level from 18 to 22
  • CHANGED: changed the way Google Maps API is called in order to prevent errors with unset sensor parameter when using certain proxy servers (thanks Dragan!)
  • CHANGED: updated Italian translation thanks to Luca Barbetti
  • CHANGED: updated Chinese translation thanks to John Shen, http://www.synyan.net
  • CHANGED: updated Spanish translation thanks to Alvaro Lara, http://www.alvarolara.com
  • CHANGED: updated French translation thanks to Vincèn Pujol, http://www.skivr.com
  • FIXED: maps using Google Maps Satellite as basemaps were broken
  • FIXED: fixed vertical alignment of basemaps in layer control box in backend

Please let me what you think of this new release. If you have any issues, please see this page on how to get support. If an important feature is missing, please add your feature requests on Github. I am also looking for more translations – if you would like to contribute a new one, please visit this page for more information.