Changes and bug fixes for each MapPress release are listed below. Please see the MapPress Beta Documentation for information about beta releases.
See the Beta Versions Guide for information about how to install beta versions.
February 6, 2013
- An ‘insert into post’ link is now available in the map list as well as the map editor
- The icon picker now loads much faster as a single image
- The ‘letter’ icons have been removed from the icon picker. If you need to continue using them, contact me for support.
- Fields in the map editor have been rearranged for clarity
January 26, 2013
- POI template function get_custom($field) was returning all fields, not just the field requested
- TinyMCE editor was not saving edits to existing POIs
January 22, 2013
- MapPress now scans for custom field changes to generate automatic maps to provide better compatibility with other plugins.
- MapPress now uses .on or .live based on which jQuery is present for compatibility with blogs that do not load the current WP version (1.8.3)
- If the tinyMCE editor is not available POI editing will revert to a plain textbox, for compatibility for plugins that replace tinyMCE
- Button texts are escaped for compatibility with some translations (on directions, map editor and editor infobox forms)
January 12, 2013
- A new setting ‘load maps last’ can be used to load the maps after the window ‘load’ event
- The ‘hideEmpty’ parameter can now be used to hide any empty mashup (previously it only applied to mashups with query=’current’)
- 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.
- The MapPress RSS feed has been removed from the settings screen
- The ‘language’ setting was not setting the language for map controls such as map type and zoom
- It was possible to deselect all geocoders in the settings. The plugin will default to ‘google’ if nothing is selected.
- The busy indicator may show indefinitely in Firefox for satellite maps. Select the the ‘load maps last’ setting prevents this.
- Mashups were centering differently for satellite mashups because 45-degree imagery was enabled by default. This imagery is now disabled by default, it can be re-enabled for individual maps using the ’tilt’ shortcode parameter.
January 7, 2013
- Featured images not displaying in mashups
- Array query arguments (such as post__in) not working correctly in mashup queries
December 22, 2012
- Wrong version number displayd in plugin header
- tinyMCE displaying empty in 2.39.3
December 21, 2012
- Setting ‘hideEmpty=”true”‘ can be used to suppress empty mashups. Setting is also available on map widget.
- Mashup shortcode is now suppressed when do_shortcode is called by indexing plugins from admin screens
- Warning about file ‘settings.js’ on the settings screen
- Invalid tinyMCE language for non-english sites
December 17, 2012
- Maps not displaying for blogs loading obsolete versions of jQuery from Google servers via plugins or themes. Switched ‘.on’ (deprecated in jQuery 1.7) to ‘.live’ to fix.
December 16, 2012
- Automatic map display not working in some blogs with JetPack installed
- (MapPress Pro) Mashups including draft posts
- (MapPress Pro) Mashups displaying only one page of results by default, switched back to posts_per_page=-1 as default
December 15, 2012
- Geocoding has been moved to MapPress Pro. If you are using the geocode() function, you must upgrade to Pro or revert to version 2.38.x.
- HTML tags in POI titles could cause strange sorting behavior, since the HTML was considered part of the title. Sorting is now done by default with PHP strip_tags() function, which strips out HTML tags
- (MapPress Pro) Sorting was being done after HTML was generated, which was causing links to open the wrong POI. Sort is now done before HTML generation.
- The TinyMCE editor was using relative image URLs, which don’t work in all installations
- CSS for image padding was not being used
- CSS for gray line above links was not working
December 4, 2012
- Mashups were not displaying
- POI icons could not be dragged when editing maps
- infoBox tip was sometimes incorrectly positioned in Firefox
- Some mashups incorrectly centered when points were added with 0,0,0,0 viewport
November 30, 2012
- Setting ‘adaptive display’ to make all maps resize and re-center when the window is resized. It’s intended for adaptive themes like 2012. If you don’t need this setting, leave it off, since it can slow performance. The shortcode parameter
adaptivecan be used to switch it on for specific maps:
- Setting ‘draggable’ to control whether maps can be dragged with the mouse. Shortcode parameter
draggableis also available. The default is ‘true’ to allow dragging.
- Mashups and maps in the map editor are now loaded using AJAX
- Maps on hidden jQuery UI tabs should now work better. The map is initialized only the first time a tab is displayed (previously it would re-initialize each time).
- Directions for lat/lng locations were showing the nearest street address as the endpoint. They now show the lat/lng.
- The ‘default icon’ setting was not displaying an icon on the settings screen
- ‘My location’ link in the directions form was not working.
- Initial centering was slightly off when parameter ‘initialopeninfo’ is set.
November 22, 2012
- Public transit (train, bus, etc.) directions and a public transit overlay are now supported. They can be enabled in the settings.
- Setting to disable map panning when a POI is clicked. This is best used with infoboxes, which can extend past the map edges.
- (MapPress Pro) settings to control what is displayed for each POI title/body in mashups
- (MapPress Pro) setting for click behavior in mashups: open the POI’s infowindow or go directly to its post
- (MapPress Pro) new POI filters. See the documentation for a complete list
- (MapPress Pro) setting for default zoom to use when a mashup POI was added by lat/lng coordinates
- (MapPress Pro) shortcode parameters to set ‘bigger map’ width/height in percent or pixels. The defaults are:
- (MapPress Pro) Infoboxes now have a close button, better alignment within the window, and a default maximum width
- (MapPress Pro) Drag/drop sorting for map POIs has been addded again
- (MapPress Pro) The template files are now in directory /templates rather than /pro/templates
- (MapPress Pro) Some mashup queries with comma-separated parameters (like post__in or category__in) were returning invalid results
- (MapPress Pro) The templates files have changed. If you’re using a custom template please update your version from the default templates in the /templates directory
- (MapPress Pro) New setting to use ‘infoBoxes’ instead of infoWindows. The infoBoxes can extend beyond the map edges and can be styled.
- (MapPress Pro) New setting to add an API key (optional) for usage tracking or Google Maps Premier services
- The tinyMCE editor is now enabled by default for the Map Editor. It can be switched off in the MapPress settings
- Directions print/close buttons are now links because the twenty twelve theme applies button styling only to ‘submit’ buttons
- Maps were not centering correctly when using the resize() method (for a hidden tab, for example) and the initialOpenInfo setting
- (MapPress Pro) You can now use multiple geocoders: Google and Nominatim. Google is more accurate, but if you are reaching the geocoding limits imposed by Google you can use Nominatim. If you select both geocoders, the plugin will try Google first, then Nominatim if that fails.
- There are additional separate fields for geocoding and importing. This should make importing single maps into a post easier when using TurboCSV or other importers.
- TurboCSV 2.47 or higher is required for this release of MapPress.
- The option to re-generate maps every time a field is changed has been removed. If multiple fields are used, this causes too many geocoding requests.
- If you need to re-generate maps on a field change, you can instead use the action ‘mappress_update_meta’ (or just trigger the WordPress ‘save_post’ action on the post). See examples below.
- When KML overlay markers were clicked the infowindow was opening in the KML center, not on the clicked marker
- Setting to turn tooltips on/off was not working
- (MapPress Pro) For mashups, the POI title was displaying instead of the post title in tooltips and the POI list
- (MapPress Pro) added !important modifier to CSS padding for post thumbnails
- (MapPress Pro) custom icons were flickering for a moment when clicked
- New setting to prevent loading the default
mappress.cssfile. If you use this setting you will need to copy all of the map styles to your theme’s
style.cssor to a custom
mappress.cssfile in the theme directory – otherwise the plugin won’t work correctly.
- You can now place a custom
mappress.cssfile in your theme (or child theme) directory. The custom file will be loaded after the default CSS, so you can use it to override the default settings. Just copy the specific styles you want to override into the custom file and change them.
- The ‘!important’ modifier has been removed from most of the default MapPress styles. That means that if you use ‘!important’ in your own styles in your theme’s
style.css, your style should take precedence.
- Missing language texts
- Bug when using the center in a shortcode with this syntax
- (MapPress Pro) Queries now default to showing ALL matching posts (posts_per_page=-1) so it’s no longer necessary to include “posts_per_page=-1″ in the query. You can still include the parameter if you dowant to limit the returned posts, for example “posts_per_page=20″.
- (MapPress Pro) If no map types are selected in the settings, ALL types are displayed (including custom styles)
- Lat/lng pois were saving with a 1-pixel viewport (should be null)
- (MapPress Pro) Some mashup queries were not working properly
- (MapPress Pro) Maps based on custom fields were not generating correctly
- POIs can now be sorted in the Map Editor. Just click and drag to rearrange them.
- The Map Editor has been updated now includes the ability to draw polygons, lines, circles and squares
- KML is now supported. Enter the URL of the KML file in the ‘New POI’ field in the Map Editor. Example (other examples are also available from Google):
- Geolocation has been added. In the Map Editor or directions form click ‘my location’. Note that accuracy is determined by your browser and connection type.
- Google ’45-degree imagery’ is now enabled by default, to provide 3-D views of buildings in major cities. Use parameter
tiltto turn it off [
]or to change the angle:
- Both qTranslate and WPML are supported for map controls and directions. However, note that POI texts can not be localized in multiple languages.
- New settings for map links, for example 'center map' or 'bigger map' links
- New settings for map types
- New settings for min/max allowed zoom
- New settings to control which links appear in POIs, for example 'directions from' or 'directions to'
- New shortcode parameter 'hidden' to initially hide a map. A 'show map' link will be displayed instead of the map. Clicking the link will reveal the map
- (MapPress Pro) New settings for Styled Maps
- (MapPress Pro) Template files can be used to control the layout of the map elements, directions, poi contents and poi list
- (MapPress Pro) New settings for featured images. Featured images can now be automatically included in mashup POIs
- (MapPress Pro) The POI list can now be sorted
- (MapPress Pro) New shortcode parameter 'link' which draws lines connecting all POIs on a mashup
- (MapPress Pro) New setting to use sortable DataTables for the POI list
- The map border and shadow is now extended to include the poi list and directions by default.
- The directions form now shows a spinner while it's retrieving directions
- The directions form should now correctly get the focus when opened
- (MapPress Pro) Custom icons are now stored in the uploads directory. This is to prevent WordPress from deleting your custom icons when MapPress is upgraded (by default WordPress deletes the entire plugin directory during each upgrade).
- If you have custom icons, you must move them from the old
/icons/directory (under the MapPress installation directory) to your uploads directory. The plugin should create the uploads directory for you, but if not, you can create it manually.
- The default uploads directory is
If you have a theme that changes your uploads directory, the icons should be placed in
- If you have custom icons, you must move them from the old
Mashup and widget query parameters have changed
show_queryare now replaced by just
- For example:
[mashup query="all"]- show all posts
[mashup query="current"]or just
[mashup]– show current posts
[mashup query="post_type=page&posts_per_page=-1"]- a custom query to show all pages
- The settings screen has been updated with a table to define which map controls should be displayed on maps
- In addition to the 'traffic' control, there is now a bike routes control to highlight bike routes on the map. Please note that Google doesn't offer bike routes in all areas (also, transit routes are still not available in the Google's maps API).
- A new scale control can be added to show distance on the map
- The bike/traffic controls now better match the normal Google styling
- A new setting is available to force directions to particular units (metric or imperial)
- All calls to Google are now made using https for compatibility with security-enabled blogs
- All scripts are now loaded in the page footer, for better compatibility with other plugins
- Maps should now render properly in tab controls based on jQuery UI (Google maps display as a small square in most hidden elements, such as tabs or sliders). This fix works only for tabs based on jQuery UI; if you are using a different control or library, please see the FAQ for some tips.
- (MapPress Pro) New setting to set a default map icon
- (MapPress Pro) All calls to Google now use https for compatibility with security-enabled blogs
- (MapPress Pro) Scripts are now loaded in the footer for better compatibility with other plugins
- (MapPress Pro) Map controls now better match google styling
- (MapPress Pro) Maps should now render properly in jQuery-based tab controls. See the FAQ for tips on how to fix non-jQuery tabs.