Mappress Changelog

2.98.1

  • Added: MapLibre GL and Mapbox GL as new mapping engines featuring smooth vector GL maps
  • Added: drawing tools for lines, shapes, rectangles and circles with MapLibre GL and Mapbox GL
  • Added: filter 'mappress_consent_placeholder' lets consent plugins show their own placeholder in place of the map until consent is given
  • Changed: popups no longer show custom fields that have no value
  • Changed: removed the unused REST endpoint /mapp/v1/maps/{id}/display
  • Changed: Google AMP is no longer supported
  • Changed: a map attached to a draft, private or password-protected post is no longer shown to visitors when it is placed on another page. Editors see a note under the map explaining how to make it visible
  • Changed: mashup queries on custom fields now allow exact matches only. Partial matches (LIKE) and ranges (greater than, less than, BETWEEN) are no longer supported
  • Changed: user mashup queries accept only include, exclude, role, search, order and paging arguments
  • Changed: password-protected posts are hidden from mashups until the password is entered
  • Changed: maps in the trash are no longer displayed. Editors see a note in place of the map
  • Fixed: maps attached to draft, private or password-protected posts could be loaded by map ID through the map embed URL
  • Fixed: initialopeninfo="false" on a map was ignored when "Open first POI" was enabled in the settings
  • Fixed: icons set with the mappress_poi_iconid filter as a full image URL or inline SVG showed the default icon
  • Fixed: a map could fail to display when a custom field held a number
  • Fixed: after an update, markers or clusters could be invisible on sites using WP Fastest Cache or LiteSpeed Cache, because the old combined CSS was still served. MapPress now clears those caches when it updates
  • Fixed: on multisite, the MapPress maps table was not removed when a site was deleted

2.98

  • Added: new marker clusterer for both Google and Leaflet
  • Added: new spiderfier for both Google and Leaflet
  • Added: new KML/GPX parser for Google and Leaflet (Google is dropping support for KML files in May, 2027, see the MapPress FAQ for details)
  • Added: new drawing tools replacement for the now-deprecated Google drawing tools
  • Added: Leaflet can now display shapes drawn and saved with Google
  • Changed: better reporting of conflicts from compliance plugins
  • Changed: MapPress now renders local KML and GPX files itself instead of using Google's deprecated KML layer
  • Changed: administrators are now alerted if the site is still using Google's legacy Places API, with a direct link to enable the new one
  • Changed: the check for "Places API (New)" no longer consumes the site's autocomplete quota
  • Changed: the mappress_filter_{key} filter now passes the filter values as the first argument and the query as the second
  • Fixed: KML styles were only partly applied
  • Fixed: KML files that specify no outline or no fill were drawn with one anyway
  • Fixed: on Google maps, KML and GPX files ignored their styling entirely and drew with default colors
  • Fixed: sort by distance showed miles but labelled them km on sites using metric units
  • Fixed: Complianz and AMP were not detected when network-activated on multisite
  • Fixed: with WPML, translated posts showed the original map instead of their own copy. Marker text for a newly translated post is now translated in the copy's strings in String Translation
  • Fixed: with WPML, maps inside group, column or other container blocks were not copied to the translation

2.97.17

  • Added: map and mashup shortcodes accept 'units' (metric or imperial) and 'radius' (search radius, in those units), e.g. [mashup search="true" units="imperial" radius="25"]
  • Fixed: distances in the POI list were calculated in miles but labelled km
  • Fixed: clicking the map did not close popups on OpenFreeMap maps
  • Fixed: when a map is resized, an open popup now stays inside the map and the location list updates
  • Updated: complete translations for German, Japanese, Italian, Dutch, Spanish, Czech and Brazilian Portuguese

2.97.16

  • Added: templates support {{#field}}...{{/field}} blocks that show only when a field has a value ({{^field}} for empty), and hyphenated custom field names
  • Removed: mashup "test" debugging attribute and mp_test parameter
  • Changed: icon IDs and addresses are sanitized when maps are saved
  • Changed: only administrators can snooze the review notice
  • Changed: template delete is limited to MapPress templates and respects DISALLOW_FILE_EDIT
  • Changed: standard templates updated to support a Content-Security-Policy without 'unsafe-eval'
  • Fixed: mashup embed URL could show maps for private posts
  • Fixed: trashed maps could be displayed through the embed URL
  • Fixed: expired license notice now shows on every admin page until the license is renewed
  • Fixed: iframe maps processed POI content twice

2.97.15

  • Fixed: user details could be exposed through the map embed URL
  • Changed: user mashup popups no longer show an email address

2.97.14

  • Fixed: early return prevents map display

2.97.13

  • Fixed: prevent other plugins from displaying notice dismissal code

2.97.12

  • Fixed: bug causing settings page reload
  • Fixed: mashup block queries not updating properly

2.97.11

  • Changed: multiple compatibility updates for the WP 7.1 iframed editor
  • Changed: you can now choose which post types display a 'map' colum independently from the geocoding settings
  • Changed: minimum WP version is now 6.3
  • Fixed: sidebar preview for poi list and filters was not working in Gutenberg editor

2.97.10

  • Changed: better labeling of the search box for the map editor
  • Fixed: Google removed the drawing manager, breaking MapPress functionality

2.97.9

  • Changed: better handling for 'excerpt_more' filters for mashup POIs
  • Changed: improvements to the Pro updater, to prevent accidentally overwriting Pro with free version
  • Changed: POI 'more' links now open outside iframe for iframed maps

2.97.8

  • Added: improve terms fetching for mashup block, applies to sites with large numbers of taxonomies and hosts limiting connections
  • Added: map-level POI list toggle
  • Changed: update icon sizing to work with newer Leaflet stylesheet
  • Fixed: mashup block lines/search buttons weren't responding

2.97.7

  • Added: dark theme for OFM maps
  • Changed: improved reminders
  • Changed: better tile service setup
  • Changed: better prevention for Siteground Optimizer minification problems
  • Fixed: 'search' and 'filter' buttons were not working for Gutenberg mashup block
  • Fixed: mashup block taxonomies were read with 'edit' context, should be 'view'
  • Fixed: prevent reading draft/deleted posts in popups
  • Fixed: try to implement workaround for hosts limiting connections, which intermittently prevents taxonomy reads

2.97.6

  • Added: check that webGL is active
  • Added: prevent optimizers like Siteground from re-minifying mablibre

2.97.5

  • Changed: limit query and filter nonce check for sites with caching plugins

2.97.4

  • Added: escape in iframe

2.97.3

  • Fixed: change in 2.97 caused mashup shortcodes to show all posts
  • Changed: improved hierarchical taxonomy handling in filters

2.97.2

  • Fixed: invalid Nominatim geocoder with Google engine
  • Fixed: wp-cli error prevented translation file generation

2.97.1

  • Bump version

2.97

  • Added: compatibility with WP7
  • Changed: required minimum version is now WordPress 6.2
  • Changed: maplibre scripts are now bundled with plugin
  • Changed: more restrictive permissions for API calls
  • Fixed: changes to support pooled SQL connections
  • Fixed: add missing ob_start

2.96.6

  • Fixed: better compatibility with Complianz when using ofm

2.96.5

  • Fixed: improved click/drag handling inside Gutenberg editor's new content iframe

2.96.4

  • Fixed: clicking on map not closing popup with openfreemap
  • Fixed: latest Leaflet defaults autoPanOnFocus true

2.96.3

  • Fixed: error with filter for empty taxonomy (with no terms)

2.96.2

  • Fixed: version error

2.96

  • Added: OpenFreeMap (OFM) GL maps, a better looking default instead of OpenStreetMaps (OSM) raster tiles
  • Added: for mashups, empty filters now default to only the 'include' terms or post types
  • Added: dropdown slug search for filters
  • Changed: new styled maps component, including support for OFM
  • Fixed: selecting specific post types was not possible in post types filter
  • Fixed: resetting post types filter uses only default post types

2.95.12

  • Changed: save options when tileservice changes
  • Changed: allow 'lon' as synonym for 'lng' when importing
  • Fixed: 'post types' filter not displaying checkboxes correctly
  • Fixed: try to give better errors on import invalid JSON

2.95.11

  • Fixed: fatal error in wpml module

2.95.10

  • Fixed: template editor not saving properly

2.95.9

  • Fixed: lines attribute not saving in Gutenberg block
  • Fixed: string saving with WPML

2.95.8

  • Fixed: error in filters dropdown from 2.95.7

2.95.7

  • Added: travel lines can now be toggled on/off in the map editor
  • Added: Google Material Symbols font for icon editor
  • Added: new WPML integration to allow map POI translation
  • Changed: remove top margin from 'directions' wrapper div
  • Fixed: error when displaying filters but custom CSS has hidden the header
  • Fixed: scrollbars not restored closing icon editor with escape key

2.95.6

  • Added: new setting for 'directions' text for easier change/translation
  • Fixed: error when creating new Mapbox style
  • Fixed: Nominatim geocoder was not honoring lat, lng entry
  • Fixed: default google directions to https
  • Changed: removed google directions server URL setting
  • Changed: adjustments to POI list CSS for padding

2.95.5

  • Changed: improved merging of queries when using ACF location fields
  • Fixed: Google drawing manager displayed twice on the map
  • Fixed: better error highlighting in settings page
  • Fixed: updated importer to treat input/radio/select fields as strings, checkboxes as arrays
  • Fixed: additional bug fixes for template handling

2.95.4

  • Added: better error handling for empty/missing template files
  • Changed: move 'mapp_filters_get' query parameter to build version
  • Fixed: scrollbars not restored after dialog box is closed

2.95.3

  • Added: JS event on map ready. See documentation for details.
  • Changed: 'mapp_filters_get' updated to include map query as parameter

2.95.2

  • Added: support Places API (New) to stop Google warnings. If you would like to use this API, enable it in the cloud console.

2.95.1

  • Fixed: single-map filters not working

2.95

  • Added: corrected line colors in Leaflet KMLs
  • Added: mashup filter checkboxes now default from initial query values
  • Added: filter 'mappress_filter_values'