6.5 KiB
Change Log
[14.0.3.4.1] - 2023-08-20
Added
- New attribute
icon_scale, a config for setting the size of the marker icon (default value is1) Example:<google_map icon_scale="0.5"> ... </google_map>
Changed
Fixed
- 'Edit geolocation' button does not work
[14.0.3.3.1] - 2023-07-29
Added
-
Two new attributes
marker_iconandmarker_iconsfor the viewgoogle_map. Allows you to set predefined FontAwesome icon as marker. Check this link https://fontawesome.com/v6/search?o=r&m=free&s=solid for available icon that can be used. Please only use the icon name, for example: this icon https://fontawesome.com/icons/flag?f=classic&s=solidfa-flagthen in themarker_iconattribute just useflag.marker_icon
An icon for all markers in thegoogle_map.marker_icons
You can set different marker based on the certain condition given.
Example:
marker_icon
<google_map ... marker_icon="flag"> ... </google_map>marker_icons
<google_map ... marker_icons="person:company_type=='person';building:company_type=='company';"> ... </google_map> -
Four new map theme: tactic, cobalt, blueish, wy
Changed
Fixed
- Clicking clusterer marker icon doesn't work properly when there is already marker info window opened
[14.0.2.3.1] - 2023-07-11
Added
- Added utility JS module (
web_google_maps.GoogleMapLoaderUtil) to handle Google Loader
Changed
- Replaced the manual Google script load via script tag with Google Loader
- Hide "Group By"
Fixed
[14.0.2.2.1] - 2022-12-09
- Update markerclusterer source
[14.0.2.2.0] - 2022-12-08
-
The two attributes:
sidebar_titleandsidebar_subtitleused in thegoogle_mapsidebar is now now supportmany2onefield (before only supportcharfield)Example:
<google_map sidebar_title="display_name" sidebar_subtitle="partner_id"> ... </google_map> -
Fixed the bugs on action (ADD | REMOVE) for
google_mapview render inside form view -
Improved the Google map instantiation in the GoogleMapRenderer, any time
google_mapview is loaded it's no longer creates new instance instead it will use the previous instance created. -
Small changes on the marker infowindow
[14.0.2.1.10] - 2022-04-05
Added
- Improved "Edit geolocation" button functionality. Make easier for user to edit geolocation.
- Added "View on Google Maps" button on marker info window.
Changed
Fixed
- Fixed "Edit geolocation" button raised an error when record's geolocation is not set.
[14.0.2.1.9] - 2021-12-23
Added
Changed
Fixed
- Fixed map center does not working properly on every condition (include when map is loaded inside form view). The solution applied is by add a delay to the map center function execution.
- Fixed button 'Navigate to' does not fired when the map is loaded inside form view.
- Fixed button 'Open' issue when the map is loaded inside form view.
[14.0.2.1.8] - 2021-12-22
Added
- Added button navigate on marker info window. This button will open Google maps website with direction enabled on new browser tab. This feature is enable by default, if you don't want to use this feature, you can disable it via view attribute.
Example:
<google_map disable_navigation="1">
...
</google_map>
- Added new button "Open" on marker info window. You will need to click this button to switch to form view.
Changed
- Marker info window is no longer open record form view when it's clicked. Need to click "Open" button to open record form view.
Fixed
[14.0.2.1.7] - 2021-10-20
Added
Changed
Fixed
- Fixed
google_mapsidebar issue when the view is loaded inside form view. - Added missing
google_mapattributes when it's instantiate inside form view (used to display one2many fields)
[14.0.2.1.6] - 2021-10-17
Added
- Add two new attributes:
sidebar_titleandsidebar_subtitle. These two attributes are used to display record title and subtitle on the sidebar.
Example:
Note: Only fields type<google_map sidebar_title="display_name" sidebar_subtitle="contact_address"> ... </google_map>Charis supported.
Changed
Fixed
[14.0.2.1.5] - 2021-09-05
Added
- Add toggle button (show/hide) google_map sidebar
- Add new button (custom control) in the map, a button to geolocate user current location
Changed
- Updated map gestureHandling value, added all supported values
auto,greedy,cooperative, andnone(previous only two:greedyandcooperative). For more detail check https://developers.google.com/maps/documentation/javascript/interaction#controlling_gesture_handling
Fixed
[14.0.2.0.5] - 2021-08-29
Added
- Improved widget
gplaces_address_autocompleteby added new optionsforce_override. This options allows you to override the default optionsfillfields.
Example:<field name="site_street" widget="gplaces_address_autocomplete" options="{ 'lat': 'site_latitude', 'lng': 'site_longitude', 'fillfields': { 'site_street': ['street_number', 'route'], 'site_street2': ['administrative_area_level_3', 'administrative_area_level_4', 'administrative_area_level_5'], 'site_city': ['locality', 'administrative_area_level_2'], 'site_zip': 'postal_code', 'site_state_id': 'administrative_area_level_1', 'site_country_id': 'country', }, 'force_override': true, }" placeholder="Street..." class="o_address_street"/>
Changed
Fixed
[14.0.2.0.4] - 2021-08-15
Added
- Added seven new map styles:
muted_blue, pale_down, subtle_gray, shift_worker, even_lighter, unsaturated_brown, and uber. - Added new attribute
map_styleto thegoogle_mapview. This attribute allows you set different map style for different model. This new attribute will override global map style configuration.
Example:<google_map map_style="unsaturated_brown"> ... </google_map>
Changed
- Updated both Google autocomplete widgets by define new function
get_google_fields_restrictionwhere list of Google fields are defined.
Fixed
[14.0.2.0.3] - 2021-08-06
Added
Changed
Fixed
- Fixed
google_mapsidebar does not re-render when next page or previous page is clicked.