@@ -5,7 +5,10 @@ description: Learn how to add and configure the Google Maps widget in your Flutt
5
5
tags : [Google Maps, Widget, Integration]
6
6
sidebar_position : 2
7
7
keywords : [FlutterFlow, Google Maps, Widget, Integration]
8
+ toc_max_heading_level : 4
8
9
---
10
+ import Tabs from '@theme/Tabs ';
11
+ import TabItem from '@theme/TabItem ';
9
12
10
13
# Google Maps Widget
11
14
@@ -155,6 +158,70 @@ the Map**.
155
158
<div class =" video-container " ><iframe src="https://www.loom.
156
159
com/embed/1b06bfc1365f4fc68f15089d4f84d798?sid=ff33ea94-cd7f-4b4e-822e-6fe0743dbd27" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe ></div >
157
160
161
+ #### Map Takes Gesture Preference
162
+ When this is turned on, any gestures, such as zooming or dragging, will only affect the map, not the rest of the page. This is helpful if your map is inside a scrollable page, so users can interact with the map without accidentally scrolling the whole page.
163
+
164
+ ::: info
165
+ This setting is only available if ** Allow Interacting** and ** Allow Zooming** are turned on.
166
+ :::
167
+
168
+ <Tabs >
169
+ <TabItem value =" 1 " label =" Map Takes Gesture Preference (Disabled) " default >
170
+ <div style={{
171
+ position: 'relative',
172
+ paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
173
+ height: 0,
174
+ width: '100%'}}>
175
+ <iframe
176
+ src="https://demo.arcade.software/JC6AnbIQpfSPfENrbd6s?embed&show_copy_link=true"
177
+ title=""
178
+ style={{
179
+ position: 'absolute',
180
+ top: 0,
181
+ left: 0,
182
+ width: '100%',
183
+ height: '100%',
184
+ colorScheme: 'light'
185
+ }}
186
+ frameborder="0"
187
+ loading="lazy"
188
+ webkitAllowFullScreen
189
+ mozAllowFullScreen
190
+ allowFullScreen
191
+ allow="clipboard-write">
192
+ </iframe>
193
+ </div >
194
+ <p ></p >
195
+ </TabItem >
196
+ <TabItem value =" 2 " label =" Map Takes Gesture Preference (Enabled) " >
197
+ <div style={{
198
+ position: 'relative',
199
+ paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
200
+ height: 0,
201
+ width: '100%'}}>
202
+ <iframe
203
+ src="https://demo.arcade.software/m5EdLhn4tlkjfRhhquqg?embed&show_copy_link=true"
204
+ title=""
205
+ style={{
206
+ position: 'absolute',
207
+ top: 0,
208
+ left: 0,
209
+ width: '100%',
210
+ height: '100%',
211
+ colorScheme: 'light'
212
+ }}
213
+ frameborder="0"
214
+ loading="lazy"
215
+ webkitAllowFullScreen
216
+ mozAllowFullScreen
217
+ allowFullScreen
218
+ allow="clipboard-write">
219
+ </iframe>
220
+ </div >
221
+ <p ></p >
222
+ </TabItem >
223
+ </Tabs >
224
+
158
225
### Show User Location
159
226
160
227
When enabled, a blue dot appears on the map to indicate the user's current location. If the map is
0 commit comments