MapPress Change Log

* Changed: plugin repository URL updated

* Changed: geocoding module has been updated
* Changed: the Nominatim geocoder has been removed
* Changed: when geocoding an ‘address’ field in format ‘lat,lng’ the field is used verbatim rather than mapped to the nearest street address
* Changed: extract removed from helper functions

* Changed: added ‘footer’ option for loading scripts in header/footer (for use in AJAX plugins)
* Fixed: default sort applied to mashup with orderby
* Fixed: updated widget to use array field names (since WP 4.4)

* Changed: version updated to 2.44

* Changed: show blank container while loading mashups instead of default map
* Changed: no alerts for admins on missing map container
* Changed: apply wpautop to POIs when they are saved (wpautop inserts html tags to format carriage returns)
* Fixed: bug where mashups were limited to 10 POIs
* Fixed: polygons are allowed again in mashup results
* Fixed: changed Mappress_Updater constructor for PHP 7

* Added: support for XHTML sites (must be running WP 4.5 or higher)
* Added: server API key for geocoding
* Fixed: debugging functions
* Fixed: removed extra code for api key in geocoder
* Fixed: removed anonymous functions to support hosts still running PHP 5.2

* Added: API key checks updated to support Google policy change on 6/22/2016
* Added: automatic icons can now be set by post type as well as by taxonomy
* Changed: KML/KMZ overlays and polygons are no longer included in mashup results
* Changed: map can now display in AJAX calls from other plugins (infinite scrollers, etc.)
* Changed: new map loader for compatibility with plugins/themes that cause jQuery .ready errors
* Changed: text domain changed for compatibility with WordPress language packs
* Changed: support for – language (.mo/.po) files renamed with new plugin slug for language packs
* Changed: datatables support has been removed
* Changed: widget now uses WP 4.3 constructor / anonymous function
* Fixed: a Google API change broke ‘my location’ in directions and map editor

* Fixed: mashup were ignoring the setting mashupTitle=”poi” and always showing post title (since 2.43.4)

* Added: language support for mashup queries
* Fixed: mashups with query=”all” or “current” returned no results from 2.43.2
* Fixed: AJAX error when adding autoicons
* Fixed: thumbnail size is output as a style for better infobox sizing

* Changed: restored ‘adaptive’ setting

* Added: check for jQuery version
* Changed: to support new geocoding API: removed ‘sensor’ parameter from geocoding calls, added api key and switched to https
* Changed: restored filter ‘mappress_poi_html’
* Changed: removed filters ‘mappress_poi_body’, ‘mappress_poi_links’, and ‘mappress_poi_links_html’
* Fixed: workaround for WP bug #33393 (deletes text in POI editor when switching visual/html tab)
* Fixed: workaround for hidden tabs calling wrong method to display map
* Fixed: addresses with foreign characters (like umlaut) were incorrect when geocoding custom fields due to double utf8-encoding
* Fixed: when using WPML, mashups with mashupClick=”post” were always redirecting to post in base language

* Fixed: removed maps print variable (pw=) completely to support latest Google URL change

* Fixed: public variables caused query errors with null queries

* Added: wp_query public variables can be included in queries, for example [mashup query="cat=@cat"] to show posts in the current category
* Fixed: drawing manager not showing up in editor

* Added: setting for automatic icons in mashups.  Note: filter ‘mappress_poi_iconid’ will be deprecated, please use the settings instead.
* Added: setting ‘icon scaling’.  Enter dimensions to scale regular icons, or for scaling high-DPI/retina display icons
* Added: setting ‘load scripts in footer’.  Uncheck this to show maps in AJAX calls, lightboxes, or infinite scrollers
* Changed: POI z-indexes are now set in reverse order so first POI has top index
* Changed: KML POIs are now suppressed in the poi list by default
* Changed: if initialOpenDirections=”true” and no from/to address is provided, the first POI will be used as the “to” address
* Changed: initialOpenInfo=”true” is now allowed for the widget
* Changed: new AJAX icon picker
* Changed: new polygon color picker with expanded palette
* Changed: polygon POIs can now be dragged
* Changed: added UTF8 encoding to geocoding requests for special characters
* Fixed: iOS “too many redirects” for directions after Google parameter change
* Fixed: directions ‘print’ parameters fixed
* Fixed: ‘print’ button removed on mobile devices where Google does not support print mode
* Fixed: map editor action links not clickable on iPad
* Fixed: don’t auto-display maps on password-protected posts
* Fixed: url for Google ‘print’ directions updated to new value
* Fixed: url incorrect when redirecting to post from POI title
* Fixed: 2015 theme interferes with POI list table layout
* Fixed: incorrect display when editing tables on settings screen
* Removed: icon shadows (shadows are no longer supported by Google)
* Removed: JSON library (all browsers should support it natively)
* Removed: filters: mappress_poi_html, mappress_user_icons
* Removed: iwfix setting  (Google has finally fixed API bug 5713 involving infoWindow scrollbars)
* Removed: ‘adaptive’ setting
* Removed: ‘disableAutoPan’ setting
* Removed: border setting (add CSS styles to class ‘mapp-layout’ instead)
* Removed: CDATA in post content

* Changed: wider editor infobox for Chrome and WP 3.9
* Fixed: removed warning about border style
* Fixed: removed !important modifier from mapp-iw styles for font weight

* Added: compatibiliy for TinyMCE 4.x in WordPress 3.9+
* Changed: geocoding calls from PHP now use http instead of https to prevent curl errors
* Changed: updated Spanish translation, thanks to Agustin
* Fixed: tinyMCE icons in WordPress 3.8+

* Added: polyline and polygon vertices can now be deleted by right-clicking
* Fixed: Mappress_Map::delete is now declared static to prevent warning messages

* Fixed: warning message in save_post action if WordPress is in debug mode and no post ID is provided

* Changed: infowindow scrollbar fix is updated and can now be turned off in settings
* Changed: removed $poi->get_post() method
* Changed: CSS for infowindow (.mapp-iw)
* Fixed: use default height for mashups with width but no height

* Added: workaround for Google infoWindow sizing bug
* Added: shortcode parameters ‘from’ and ‘to’ can be used to set a default for all directions. Use a string or POI number, for example or
* Fixed: layout style was incorrect if map layout had rounded corners; this also prevented show=”hidden” from working.
* Fixed: filter ‘mappress_poi_iconid’ was being called as ‘mapress_poi_iconid’ (with one ‘p’ instead of two)
* Fixed: Google CSS made copyright appear vertical in IE in some themes
* Fixed: Google bug with sizing infoWindows
* Changed: updated Italian translation, thanks to Reberto
* Changed: when dragging a marker originally entered by address, it will keep the address for directions instead of showing the lat/lng coordinates.
* Changed: no check for an active post for the mashup shortcode, to allow mashups on search results pages
* Changed: directions now appear -above- the poi list in the standard template ‘layout.php’
* Changed: if option mashupClick=”post”, the plugin redirects using ‘siteurl/?p=1234’ instead of the permalink (which speeds up queries)
* Changed: initialopendirections is now a boolean: set it to ‘true’ or ‘false’.

* Fixed: workaround for new output buffering issue in latest NextGen 2.0.11

* Fixed: warning message on settings screen
* Changed: custom map sizes are now available in all versions of the plugin

* Fixed: directions not working after Nextgen workaround

* Added: the POI editor now includes the ‘paste’ tinyMCE plugin to allow pasting from Microsoft Word
* Changed: if you have set the option to link POIs to posts, featured images will also link to the underlying post
* Changed: map sizes (on the settings screen) can be set to % sizes as well as pixels. NOTE: existing sizes are reset, so re-enter them on the ‘settings’ screen if needed.
* Changed: a default size can now be selected and maps without a specific size will default to that size
* Changed: ‘language’ setting is now set dynamically
* Changed: up to 6 address lines are now supported
* Fixed: workaround for NextGen plugin bug: reverses order of wp_enqueue_script / wp_print_footer scripts.
* Fixed: tabs activation using new jQuery version in WordPress 3.6
* Fixed: workaround for NextGen plugin bug: admin_enqueue_scripts called without a hook name
* Fixed: some mobile devices did not show the map ‘close’ buttons correctly (mobile browser could not render ‘max-width: auto’, ‘max-width: 99999px’ used instead)
* Fixed: shadows were not appearing for custom icons
* Fixed: added missing localization for ‘loading’ and ‘directions from’ message strings
* Fixed: notice message for a static function called non-statically
* Fixed: map are now generated from metadata only if the post type is enabled for maps on the settings screen
* Fixed: update of maps from queued metadata was not working when multiple posts were queued at once

* Fixed: widget CSS settings
* Fixed: added missing blue iim2 shadow icon

* Fixed: PHP notice in widget
* Fixed: added updated Hungarian translation (thanks to Zsolt A.)

* Fixed: % width and % height were not working in the editor since 2.40
* Fixed: PHP notice when upgrade available
* Fixed: removed internal errors from language files

* Added: an ‘insert into post’ link is now available in the map list as well as the map editor
* Changed: fields in the map editor have been rearranged for clarity
* Changed: the ‘letter’ icons have been removed from the icon picker. If you need to continue using them, contact me for support.
* Fixed: the icon picker now loads much faster as a single image

* Fixed: POI function get_custom($field) was returning all fields, not just the field requested
* Fixed: tinyMCE editor was not saving after editing an existing POI

* Changed: MapPress now scans for custom field changes to generate automatic maps, for better compatibility with other plugins.
* Fixed: MapPress will now use .on or .live based on which jQuery is present (some blogs/themes/plugins do not load correct WP version 1.8.3)
* Fixed: if the tinyMCE editor is not available POI editing will revert to a plain textbox, for compatibility for plugins that replace tinyMCE
* Fixed: escaped translated text on buttons for directions, map editor and editor infobox forms

* Added: a new setting ‘load maps last’ can be used to load the maps after the window ‘load’ event
* Changed: the ‘hideEmpty’ parameter can now be used to hide any mashup that is empty (previously it only applied to mashups with query=’current’)
* Changed: the parameter ’tilt’ for 45-degree imagery now defaults to 0 (off). Set it to “45” in your shortcode if you need 45-degreee imagery.
* Changed: the MapPress RSS feed has been removed from the settings screen
* Fixed: the ‘language’ setting was not correctly setting the language for map controls such as map type and zoom
* Fixed: it is no longer possible to deselect ALL geocoders (the plugin will default to ‘google’ if nothing is selected)
* Fixed: settings javascript was loading on other pages
* Fixed: busy indicator showing indefinitely in Firefox for satellite maps (use the ‘load maps last’ setting to prevent this)
* Fixed: invalid map auto-centering for satellite mashups (45-degree imagery was distorting the viewport calculation)

* Fixed: featured images not displaying in mashups
* Fixed: array query arguments (such as post__in) not working correctly

* Fixed: wrong version number in plugin header (2.39.4 showed as 2.39.3)

* Fixed: tinyMCE displaying empty in 2.39.3

* Added: setting ‘hideEmpty=”true”‘ can be used to suppress a mashup of current posts if it is empty. Setting is also available on map widget
* Changed: mashup shortcode is now suppressed in the admin screens when do_shortcode is called by indexing plugins
* Fixed: warning about file ‘settings.js’ on the settings screen
* Fixed: invalid tinyMCE language for non-english sites

* Changed: some blogs are loading outdated javascript versions, so changed use of javascript ‘.on’ (deprecated in 1.7) to ‘.live’



* Catalan
* Chinese / Taiwanese
* Croatian
* Dutch
* Finnish
* French
* German
* Hungarian
* Italian
* Russian
* Serbian (Ogi from
* Simplified Chinese
* Spanish
* Swedish