From b6812e6a032bf4e287f08a084ad347e6d8cb2a29 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 10 Jan 2023 16:59:02 +0100 Subject: [PATCH] Update geocoding documentation Add `data-google-maps-geocoding-store` parameter documentation --- docs/javascript/components_google_maps.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/javascript/components_google_maps.md b/docs/javascript/components_google_maps.md index 88ec0c32..b1991765 100644 --- a/docs/javascript/components_google_maps.md +++ b/docs/javascript/components_google_maps.md @@ -131,6 +131,7 @@ Enables the geocoding feature for a map. type="text" data-google-maps-geocoding="map_id" data-google-maps-marker + data-google-maps-geocoding-store="prefix" > ``` @@ -144,6 +145,10 @@ ID of the `` element. If set, a movable marker is created that is coupled with the input field. +##### `data-google-maps-geocoding-store` + +If set, the coordinates (latitude and longitude) are stored comma-separated in a hidden input field. Optionally, a value can be passed that is used as a prefix for the name of the input field. + ### `MarkerLoader` Handles a large map with many markers where markers are loaded via AJAX. -- 2.20.1