WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Pronamic Google Maps

This plugin makes it easy to add Google Maps to your WordPress post, pages or other custom post types.

todo

2.2.9

  • WordPress Coding Standards optimizations and tested up to version 3.9.1.

2.2.8

  • Added a tag around the fallback static map.

2.2.7

  • Fixed error on saving Pronamic Google Maps options.
  • Improved support for percentage dimensions on singular maps.

2.2.6

  • Improved support for Shopp products post type.

2.2.5

  • Added support for new Google Maps Visual Refresh setting
  • Improved post meta data saving, only save meta data if needed
  • Mashup width and height can now be in percents (for responsive designs)

2.2.4

  • Changed the directory structure of the PHP classes files
  • Added support for https:// (SSL)
  • Added API client for backend geocode
  • Fixed notice on saving an post (visible in debug mode)

2.2.3

  • Added WordPress query parameters 'pronamic_latitude' and 'pronamic_longitude'
  • Register the default Google Maps script in addition to the Google API loader script

2.2.2

  • Allow other units (percent, em, etc.) for the width and height attributes in the Google Maps mashup

2.2.1

  • Added Portuguese Brazil translation by Ruan Mer
  • Apply html_entity_decode() to the query attribute in the mashup shortcode

2.2

  • Added support for some google-maps-utility-library-v3 libraries
  • Added support for MarkerClustererPlus
  • Added support for MarkerManager
  • Fixed bug with an fixed zoom level wich was not set in the pronamic_google_maps_mashup() function
  • If you disbale the 'fit_bounds' option in the mashup the mashup will no longer center the client location
  • Added extra option 'center_client_location' to center the mashup center to the client location, default false
  • Added 'geo' shortcode wich will display the latitude and longitude in the microformat of the post in wich it is placed
  • Apply the 'pronamic_google_maps_item_description' filter not in admin
  • Added shortcode 'googlemapsmashup' for an Google Maps mashup
  • Changed shortcode 'google-maps' to 'googlemaps'
  • Deprecated the 'google-maps' shortcode, changed it to 'googlemaps', hyphen use can cause collisions
  • Changed the text domain from 'pronamic-google-maps' to 'pronamic_google_maps'
  • Replaced all references to class constant TEXT_DOMAIN to an string
  • Improved the way we enqueue te frontend script becease the way wp_enqueue_script() works is changed since WordPress 3.3

2.1.6

  • Fixed notice undefined property in the Pronamic_Google_Maps class related to zoom and map type ID values

2.1.5

  • Added the map options argument to the mashup and did some improvements on the mashup functions
  • Fixed a small bug with determing the zoom level, thanks to Sascha Paukner

2.1.4

  • Added Polish translation by Marcin Modestowicz
  • Improved the use of the 'pronamic_google_maps_item_description' filter

2.1.3

  • Fixed some notices caused by the new 'map_options' settings key
  • Improved the Pronamic Google Maps widget

2.1.2

  • Added JavaScript to WordPress widget admin page for the Pronamic Google Maps widget
  • Added the 'pronamic_google_maps_marker_options_$key' filter for dynamic icons on the Google Maps mashup
  • Added the 'pronamic_google_maps_post_meta' filter for manipulating the Google Maps post meta
  • Adjusted the Google Maps mashup JavaScripts, now each post can have it's own custom marker icon
  • It's now possible to define all the Google Maps map options within the pronamic_google_maps() function

2.1.1

  • Added a short description to the meta box, thanks to andrewhouse
  • Removed some PHP 5.3+ namespace slashes that were causing warnings on lower versions of PHP (unexpected character in input: '\' (ASCII=92))

2.1

  • Mashup map is now also rendered if there are no posts found
  • First parameter of the pronamic_google_maps_mashup() function now also be an WP_Query object
  • Fixed issue with the Google Maps shortcode, in most cases it was not returning the output from the shortcode function
  • Added an uninstall form so you can easily delete options and meta data

2.0

  • Fixed Notice: Undefined index: fit_founds
  • Removed wp_register_script('google-maps', ...), we now only use the Google JavaScript load API
  • Fix issue with the JavaScript variabel google.loader.ClientLocation wich can be null
  • Added default zoom and map type values in the constants: Pronamic_Google_Maps::MAP_ZOOM_DEFAULT and Pronamic_Google_Maps::MAP_TYPE_DEFAULT
  • If there is no meta information about the zoom level and the map type the default values will be set
  • Replaced all the require once statements for the classes with an SPL autoload function
  • Changed the default width and height values, now based on the output of the wp_embed_defaults() function
  • Added shortcode [google-maps] functionality
  • Added JavaScript event trigger "pronamic-google-maps-ready"
  • Fixed the rendering of the mashup, if there are no posts found the empty ul element will not be added
  • Added 'marker_options' as argument for the pronamic_google_maps() function
  • Added the new Google Maps favicon to the WordPress admin menu

1.9

  • Replaced the normal Google Maps v3 JavaScripts with the Google JavaScript API loader scripts
  • Thanks to the Google JavaScript API loader we can now use the "google.loader.ClientLocation" JavaScript variable
  • Replaced some "jQuery" JavaScript variables to the shorter notation "$"
  • Added all required map options (center, mapTypeId and zoom) to the creation of mashup maps
  • Added 'fit_bounds' option for the pronamic_google_maps_mashup($query, $arguments) function
  • Combined the JavaScript file widget.js into admin.js and did some improvements
  • Browser check after changing some core JavaScripts:
    • Mozilla Firefox 3.6.17
    • Google Chrome 12.0.742.100
    • Opera 11.11
    • Safari 5.0.5
    • Internet Explorer 9.0.8112.16421
    • Internet Explorer 8.0.6001.19088
    • Intenret Explorer 7.0.5730.11

1.8

  • Changed jQuery selectors [property=value] to [property="value"], jQuery 1.5.0 no longer allows these selectors
  • Added extra meta data field for address information
  • Added address field
  • Added geocode and reverse geocode buttons
  • Removed search field and button
  • Combined the latitude and longitude fields into one form table row
  • Replaced the add_options_page() with an add_menu_page() call
  • Combined the class Pronamic_Google_Maps_OptionPage into the Pronamic_Google_Maps_Admin class
  • Replaced the HTML buttons in the options pages with the function submit_button()
  • Added geocoder page to bulk geocode posts
  • Changed the way the JavaScript are loaded, we use a solution from Scribu: "How to load JavaScript like a WordPress Master"

1.7.1

  • Added an wp_reset_postdata() call after the custom query in the mashup class in request of ezlxq73

1.7

  • Changed 'WP_query' to the 'WP_Query' class name
  • Improved the way the frontend JavaScripts are enqueued, on singular pages only when Google Maps is active. If your Google Maps mashup is not working anymore you probably have to call wp_enqueue_script('pronamic-google-maps-site') in your mashup template. We adjusted this in request of MrVictor

1.6.3

1.6.2

  • Changed the scope of some JavaScript functions in site.js and admin.js
  • Changed some JavaScripts so the Google Maps object is binded to some DOM elements (http://api.jquery.com/data/)

1.6.1.2

  • Removed some unnecessary JavaScript, in response to problems in IE6 and 7.

1.6.1.1

  • Fixed the static map the image source attribute was empty since version 1.6.1.
  • Fixed a bug in Internet Explorer 8, we now use the window load event instead of the ready event. If we use the read event the markers will not show up on the map (thanks to SweetManiac).

1.6.1

  • Added 'echo' argument in the pronamic_google_maps() and pronamic_google_maps_mashup() functions
  • Fixed the 'pronamic_google_maps_geo_microformat()' function, if Google Maps is not active for the current post or post type don't render the microformat

1.6

  • Share a single info window on the mashup map (Demo: Single Info Windows)
  • The marker options of the mashup map can now be configured.

1.5.1.1

  • Fixed a typo in the GEO micrformat render function.

1.5.1

  • Fixed bug in version 1.5, function get_the_ID() was not working in all cases, now back to global $post; and $post->ID;
  • Updated the screenschots

1.5

  • Replaced all hidden HTML fields with one hidden field with JSON data
  • Removed "Like this plugin?" from options page
  • Removed "Donate $10, $20 or $50!" from options page
  • Removed "Latest news from Pronamic" from options page
  • Removed "Found a bug?" from options page
  • Added a search field above the Google Map in the admin
  • Added the pronamic_google_maps_is_active() function
  • Added the pronamic_google_maps_title() function and the "pronamic_google_maps_item_title" filter
  • Added the pronamic_google_maps_description() function and the "pronamic_google_maps_item_description" filter
  • Added mashup function: pronamic_google_maps_mashup($query, $arguments)
  • Added the 'pronamic_google_maps_mashup_item' filter
  • Added 'nl_NL' translations

1.4.1

  • Fixed marker on frontend should not be draggable (thanks to Pim Vellinga)
  • Added function pronamic_google_maps_location() for custom directions forms, template example:
From: " /> " />

1.4

  • Fixed bug dynamic map fixed width and height (thanks to Joost Baaij)
  • Added Google Maps widget
  • Add JavaScripts with the wp_enqueue_script function
  • GEO microformat added. You should add the folowing CSS code to your stylesheet if you don't want to display the GEO microformat. .pgm .geo { display: none; }

1.3

  • Fixed a bug dynamic maps didn't show up (thanks to ThomasBuxo)
  • Made the latitude and longitude fields visibile again (request from ThomasBuxo)
  • Added change and keyup events to latitude and longitude fields
  • Mozilla Firefox 3.6.10 browser check
  • Google Chrome 6.0.472.63 browser check
  • Safari 5.0.2 browser check
  • Opera 10.62 browser check
  • Internet Explorer 8 browser check
  • Internet Explorer 7 browser check

1.2

  • Fixed bug with fixed zoom value of 12 on static Google Maps
  • Added translation options (Dutch language added)
  • Changed the latitude and longitude fields from text to hidden

1.1

  • Added static and dynamic Google Maps support

1.0

  • Initial release

Requires: 3.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-5-15
Downloads: 110,946

Ratings

4 stars
4.3 out of 5 stars

Support

4 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,2,2 0,1,0 0,1,0 0,1,0 0,2,0
100,2,2 100,2,2 50,2,1 100,1,1 50,4,2 0,1,0 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
0,1,0 100,1,1 100,1,1 100,2,2 0,1,0 100,2,2 100,2,2
100,1,1
100,1,1 100,1,1
0,2,0 100,1,1 0,1,0
100,1,1
100,3,3 50,4,2 100,1,1 0,1,0 100,4,4 100,3,3 100,1,1
100,10,10
100,2,2 100,1,1 0,1,0
0,1,0 100,2,2
100,3,3
100,2,2
100,1,1
0,1,0 100,2,2
100,2,2
100,1,1 50,2,1
0,1,0 100,1,1 50,2,1
0,1,0
100,1,1 50,2,1
100,1,1
100,1,1
100,1,1