Code

WP Post Map - Google Maps Plugin for WordPress

WP Post Map - Google Maps Plugin for WordPress

WP Post Map is a WordPress plugin that allows you to add Google maps to your pages and/or posts. You can easily create your own maps with your own markers, or you can display your posts on a map and customize the map as you like.

With the use of shortcodes, you can create your own maps wherever you want. We have a nice shortcode dialog that helps you to build your map.

To display your posts on a map, all you need to have is a post type that includes an address field, latitude and longitude field, or a single filed with the latitude and longitude together. For ease of use, we have included a Map Locations custom post type in the plugin. On the shortcode dialog, you can select the field to be used for the post type of your choice. This allows you to mix different post types together on one map.

Here’s a list of some of the features.

  • Choose map type (Roadmap, Satellite, Hybrid)
  • Set the map height and width
  • Show/hide map controls
  • Customize markers/icons (default, default with your own color choice, featured image, custom icon, custom image)
  • Chose from a number of templates for the list and info window on the map, or create your own (with a little HTML and code knowledge)
  • Show posts on map only, or show map and list
  • Set number of posts to show per page, with pagination
  • Setup your own map colors
  • Cluster markers
  • Display route between markers
  • Show route directions or just show route on map
  • Multiple maps per post/page are supported
  • Works with WPBakery Page Builder (Visual Composer)
  • and more….

Currently there are 13 templates for displaying your posts and 4 templates for the info windows that show on the map. We will be adding to these regularly, so if there are any suggestions, please let us know.

View examples and documentation.

WP Post Map Plugin - v1.0.7 (July 24, 2018)

* Added caching of geocoded addresses to avoid limitations for multiple addresses in a short period of time
* Fixed border around circle featured image with CSS

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.6 (March 09, 2018)

* Added "Full Height", "Height Adjustment", "Map Color", and "Hide Points of Interest" options to List Map shortcode
* Added "Full Height", "Height Adjustment", and "Map Color" options to Map shortcode
* Added TinyMCE editor button and text mode editor button to open shortcode dialog
* Added ability to select any custom post type to be used with the Map Marker shortcode
* Fixed bounce animation script error
* Fixed start and end address marker icon selection in Map shortcode route options
* Updated Redux Framework to the latest version (3.6.8)

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.5 (February 17, 2018)

* Added Map Locations custom post type with address and latitude/longitude fields
* Added "Load Google Maps API Key" setting to plugin admin options - if a Google Maps API Key
  is already loaded, you can turn off this setting so two keys are not loaded
* Added 8 new list templates for use in the [wppm_list_map] shortcode
* Added "Show on Hover" option to List Map shortcode for showing infowindow on hover for certain templates
* Fixed issue with icons not being included in the plugin install file

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.4 (February 05, 2018)

* Added left/right info window templates that show location info next to the map
* Added ability to show info window on marker hover
* Fixed issue found with loading items within WPBakery Page Builder (Visual Composer)
* Fixed issue with some Map shortcode elements not having a default value set
* Fixed marker color issue when setting to a "Plugin Color" 

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.3 (January 15, 2018)

* Added missing Typewatch JavaScript library
* Added missing Bootstrap tab JavaScript library

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.2 (January 12, 2018)

* Added ability to turn on pagination for list and set the text for pagination
* Added code so on infowindow close, the map is re-zoomed to show all markers
* Added ability to set zoom level when clicking on marker

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.1 (January 2, 2018)

* Added new marker template for displaying of markers with the List Map shortcode
* Updated product information needed for automatic updates to work correctly

---------------------------------------------------------------------------------

WP Post Map Plugin - v1.0.0 (December 31, 2017)

* Initial Release
by
by
by
by
by
by