Google Maps
Version 4.6.8
September 19, 2025
Fixed
- Fixed bug in subfield filter fallback. (#151)
Version 4.6.7
April 4, 2025
Fixed
- Fixed compatibility issue with Craft Cloud. (#121)
Version 4.6.5
February 21, 2025
Added
- Added
cameraControlOptionsdefinition.
Version 4.6.4
February 17, 2025
Changed
- Improved response when ipstack is offline.
Version 4.6.3
February 15, 2025
Fixed
- Load maps asynchronously. (#117)
Version 4.6.2
February 5, 2025
Added
- Added formatted address to geocoding lookup results.
Fixed
- Fixed bug where a map may not load properly with only one marker. (#126)
- Nullify raw
[object Object]values.
Version 4.6.0
December 3, 2024
This update runs a significant migration, which may notably increase the size of the
googlemaps_addressestable for multisite projects. Please ensure that you have backed up the database before performing this migration.
Added
- Added multisite support. (#11)
- Added
infoWindowDataoption. - Added ability to convert Address fields from the Ether Maps plugin.
Fixed
- Fixed bug in “Test Address Lookup” utility.
- Fixed small centering bugs in dynamic maps.
Version 4.5.2
April 12, 2024
Fixed
- Patched bug caused by malformed subfield config.
Version 4.5.0
March 21, 2024
Added
- Addresses now include an optional
neighborhoodsubfield. (#44) - Addresses now include an optional
countryCodesubfield. (#104)
Changed
isEmptyandmultilinemethods now respect whether a subfield is visible. (#82)
Version 4.4.0
February 24, 2024
Changed
- Pinned API version to avoid deprecation warnings. (#106)
Version 4.3.11
January 6, 2024
Changed
- Improved support for collections.
Version 4.3.10
December 19, 2023
Changed
- Improved support for collections.
- Restores a required minimum of Craft 4.0.0.
Version 4.3.9
December 18, 2023
Added
- Added support for element collections.
Version 4.3.8
October 18, 2023
Changed
- Marked Address field as compatible with the Mapbox plugin.
- Now requires a minimum of Craft 4.5.7.
Version 4.3.7
October 17, 2023
Added
- Address fields can now be added to the search index. (#21)
- Optionally use minified JavaScript files for dynamic maps on the front-end. (#98)
- Added ability to convert Address fields from the Mapbox plugin.
Version 4.3.4
June 1, 2023
Fixed
- Fixed bug which occurred when using multiple Address fields inside a Matrix field. (#80)
Version 4.3.2
February 21, 2023
Added
- Added a utility for testing the Google API keys. (#8)
- Added a utility for testing an address lookup.
Fixed
- Improved coupling of marker IDs and info window IDs.
Version 4.3.1
February 6, 2023
Fixed
- Fixed bug in migration to
4.3.0. (thanks @bencroker)
Version 4.3.0
January 31, 2023
Added
- Added support for using an Address in GraphQL.
- Added support for reverse proximity searches.
- Added support for drawing circles on a map.
- Added
hideCircleuniversal method. - Added
showCircleuniversal method. - Added
getCircleJavaScript method.
Changed
- Completely refactored how Vue powers the Address field. Now updated to use Vue 3 and Pinia.
Fixed
- Set a default noop callback to prevent a Google Maps API console error.
- Fixed
stylesoption for static maps. (#70) - Fixed minor bug in migration from Smart Map. (thanks @bencroker)
- Fixed bug which occurred when "Geolocation Service" was set to "None". (#72)
- Fixed a bug which prevented multiple maps from having info windows at the same time.
- Removed an old symlink which could cause conflicts with
rsync. (#63)
Version 4.2.5
July 24, 2022
If using Sprig, enable the
inlineoption in the Twig/PHPtagmethod.
Added
- Added a new
inlineoption for the Twig/PHPtagmethod.
Changed
- JavaScript will no longer be injected inline automatically when Sprig is installed.
Version 4.2.4
July 23, 2022
Changed
- All required JavaScript assets now load with
deferattribute. (#61)
Fixed
- Fixed a minor conflict from recent clustering changes.
Version 4.2.3
May 13, 2022
Fixed
- Load JavaScript inline when using Sprig. (#52)
Version 4.2.2
May 9, 2022
Fixed
- Fixed bug affecting zoom level of a single marker. (#53)
Version 4.2.1
April 25, 2022
Fixed
- Fixed typecasting of event parameters. (#54)
Version 4.2.0
April 18, 2022
Added
- Craft 4 compatibility.
Version 4.1.9
April 15, 2022
Fixed
- Allow
rangeto be a float between 0 and 1.
Version 4.1.8
April 11, 2022
Fixed
- Fixed minor bug in JavaScript
tagmethod.
Version 4.1.7
April 10, 2022
Changed
- Prevents the
namesubfield from being just a copy ofstreet1subfield. - Prevents the map from appearing as a grey box when zoom or center are missing.
- Changed the default zoom level to 11.
Fixed
- Actually fixed info window regression. (#49)
- Fixed a bug which occurs when getting coordinates from a custom Address model.
- Fixed a bug which occurs when using only a single Address model on a static map.
Version 4.1.5
March 25, 2022
Changed
- Refactored how info windows are loaded.
Version 4.1.3
March 9, 2022
Added
- Allow multiple subfields to perform Autocomplete. (#42)
Fixed
- Fixed conflict between clustering and info windows.
Version 4.1.2
March 7, 2022
Added
- The
setMarkerIconmethod now accepts an array of IDs to set an icon for multiple markers at the same time. - The
setMarkerIconmethod now accepts*to set an icon for all markers at the same time. - The
hideMarkermethod now accepts an array of IDs to hide multiple markers at the same time. - The
showMarkermethod now accepts an array of IDs to show multiple markers at the same time. - The
openInfoWindowmethod now accepts an array of IDs to open multiple info windows at the same time. - The
openInfoWindowmethod now accepts*to open all info windows at the same time. - Added
closeInfoWindowmethod, which accepts an ID, an array of IDs, or*to close multiple info windows. - The
hideKmlmethod now accepts an array of IDs to hide multiple KML layers at the same time. - The
showKmlmethod now accepts an array of IDs to show multiple KML layers at the same time.
Changed
- Improved JavaScript logging.
- Protect against invalid coordinates when centering.
- Deprecated
apioption, replaced withparamsoption.
Fixed
- Fixed JavaScript chaining bug.
Version 4.1.1
December 24, 2021
Changed
- Improved support for using Google Maps JavaScript API constants within Twig/PHP.
Fixed
- Fixed namespacing bug when an Address field is nested within a Matrix field. (#43)
Version 4.1.0
December 1, 2021
If you are using marker clustering, please be aware that the internal library has changed and your code may require minor adjustments as a result.
Added
- Addresses now include an optional
namesubfield. (#26) - Addresses now include an optional
countysubfield. - Addresses now include an optional
placeIdsubfield. (#25) - The
hideMarkermethod now accepts*to hide all markers at the same time. (#39) - The
showMarkermethod now accepts*to show all markers at the same time. - The
hideKmlmethod now accepts*to hide all KML Layers at the same time. - The
showKmlmethod now accepts*to show all KML Layers at the same time. - Added
markerLinkoption for dynamic map markers. (#34) - Added
markerClickoption for dynamic map markers. (#34) - Added a JS script and instructions for adding Google Places Autocomplete to front-end forms.
Changed
- Replaced deprecated MarkerClustererPlus library with newly recommended MarkerClusterer library.
- Improved autocompletion of Address fields by returning a broader set of results.
- Improved
fitmethod to more accurately reflect visible markers. - Renamed
getMarkerClusterJavaScript method togetMarkerClustererfor accuracy.
Version 4.0.11
June 18, 2021
Added
- Added
clusteroption to easily cluster map markers. (#9) - Added
getMarkerClusterJavaScript method. (#9) - Added
openInfoWindowuniversal method. (#10)
Version 4.0.9
May 22, 2021
Added
- On installation, migrates existing Smart Map license key (if available).
- Logs migration warning messages for recoverable issues.
Changed
- Requires a minimum of Craft 3.6.14.
Fixed
- Significantly improved stability of migration from Smart Map.
- Reinstated alias for the legacy fieldtype.
Version 4.0.8.1
May 10, 2021
Fixed
- Reverted field alias, to be reinstated with upcoming Craft release.
Version 4.0.8
May 8, 2021
Changed
- Improved error handling on the Visitor Model.
- Added an alias for the legacy fieldtype.
Fixed
- Fixed a bug occurring with a null
targetvalue.
Version 4.0.6
April 18, 2021
Added
- Added the subfield filter fallback mechanism for proximity searches. (#5)
Changed
- Improved error messaging for when a map ID conflicts with the ID of another DOM element. (#23)
Version 4.0.5
March 27, 2021
Added
- Added
fieldControlSizesetting to control the UI size for Address fields. (#19) - Added
fieldParamssetting to adjust the API URL for Address fields. (#18)
Version 4.0.4
March 24, 2021
Added
- Added full support for Matrix, Neo, and Super Table fields. (#1)
Version 4.0.3
March 14, 2021
Changed
- Improved IP autodetection for visitor geolocation.
Fixed
- Fixed normalization bug when handling an Address Model. (#6)
- Be more defensive against unavailable coordinates.
Version 4.0.1
February 26, 2021
Added
- Added
getInfoWindowJavaScript method.
Fixed
- Fixed overlap between the field handle div and the map's toggle text/icon. (#7)
Version 4.0.0
February 22, 2021
Added
- Everything.
This is the direct successor to the Smart Map plugin. Since the final version of Smart Map ended at 3.x, Google Maps begins with version 4.0. To replace Smart Map, simply install the Google Maps plugin. Your data will be migrated automatically.
For more information, please see the complete documentation...