Releases: doublesecretagency/craft-googlemaps
Releases · doublesecretagency/craft-googlemaps
4.2.1
4.2.0
Added
- Craft 4 compatibility.
4.1.9
Fixed
- Allow
range
to be a float between 0 and 1.
4.1.8
Fixed
- Fixed minor bug in JavaScript
tag
method.
4.1.7
Changed
- Prevents the
name
subfield from being just a copy ofstreet1
subfield. - 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.
4.1.6
4.1.5
Changed
- Refactored how info windows are loaded.
4.1.4
4.1.3
4.1.2
Added
- The
setMarkerIcon
method now accepts an array of IDs to set an icon for multiple markers at the same time. - The
setMarkerIcon
method now accepts*
to set an icon for all markers at the same time. - The
hideMarker
method now accepts an array of IDs to hide multiple markers at the same time. - The
showMarker
method now accepts an array of IDs to show multiple markers at the same time. - The
openInfoWindow
method now accepts an array of IDs to open multiple info windows at the same time. - The
openInfoWindow
method now accepts*
to open all info windows at the same time. - Added
closeInfoWindow
method, which accepts an ID, an array of IDs, or*
to close multiple info windows. - The
hideKml
method now accepts an array of IDs to hide multiple KML layers at the same time. - The
showKml
method 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
api
option, replaced withparams
option.
Fixed
- Fixed JavaScript chaining bug.