What’s New

Some of the latest MapPress features are listed below. Please see the MapPress Documentation and the Changelog for details

Version 2.57

New Map Editor for WordPress Classic Editor

MapPress supports both Gutenberg and the WordPress ‘classic’ editor. For the classic editor, the MapPress map editor has been redesigned and is now accessed by clicking the ‘MapPress’ button above the post body.

Add Media to POIS

MapPress now supports inserting media into map POIs directly from the WordPress Media Library. In the map editor, open a POI to edit and use the new ‘Add media’ link to insert images, videos, etc. Note that some media types will not work properly because of the way they are inserted into the page. For example, images and YouTube videos work fine, but TikTok will not work within a map.

Version 2.56

Gutenberg Support

MapPress now fully supports the Gutenberg editor, with new blocks for maps and mashups.

Existing shortcodes will continue to work, but they must be converted to blocks in order to edit the underlying maps. To convert a post to the Gutenberg block editor, select a ‘classic block’ and choose ‘convert to blocks’ from the block menu.

Shortcodes must be on a separate line, with no adjacent text or punctuation.

Here’s an example of converting a classic block to the Gutenberg editor. The [mappress] shortcode is converted to a MapPress Map block.

If a separate shortcode block already exists, just use the ‘change block type’ button to convert it to a Map or Mashup block.

Map Library

MapPress has a new map library where you can see and edit all of your mapsThe library is located under the MapPress settings.

From the library, maps can be created, edited and deleted. A button exists to copy the shortcode for any map.

Clustering

Both maps and Mashups now support marker clustering. Switch this option on from the MapPress settings screen. The Leaflet version is more advanced, and also supports “spidering” (separating markers when they are very close together).

Two markers exactly on top of each other, represented by a cluster
Click on the cluster to ‘spider’ the markers apart

Custom Icons Upload

Custom icons can now be uploaded directly from your computer, from the MapPress settings screen.

Mini Mode

When maps are small, they now automatically go into ‘mini’ mode if the POI list is on the left. The list is hidden, and toggle button are shown to allow the user to toggle between ‘list’ and ‘map’ views. The mini mode size can be set in the MapPress settings.

Mashup before mini mode
Mashup with mini mode applied

WPML Support

MapPress has actually always supported WPML, and all map controls and templates default to the current WPML language. But 2.56 adds new functionality to assist in copying posts to a translation.

When creating a WPML translation, there is an option to duplicate the content from the original post, overwriting the target (translation) post.

During duplication, MapPress will:

  1. Delete any maps in the target (translation) post
  2. Copy all maps from the original post to the translation post
  3. Update all shortcodes and Gutenberg blocks to use the new map IDs

The new maps can be edited in the translation language and will not affect the originals. This behavior can be switched off in the MapPress settings screen.