You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the default "zoom control" is set to hidden (zoomControl: false) on map, it will show up right away after pressing the first point again to close the area (i.e. after the "Total Distance" message).
The text was updated successfully, but these errors were encountered:
Without a reliable way to get the map current options, e.g. zoomControl in this case, there is no easy way to preserve the previous map state after overriding the map options during drawing process.
Current will use a select to determine the map zoomControl value: !!document.querySelector("button[aria-label='Zoom in']"). This is the only way I can think of on top of my head. It works for this particular issue, but will have to check when there is a newer release of Google Maps API.
If the default "zoom control" is set to hidden (zoomControl: false) on map, it will show up right away after pressing the first point again to close the area (i.e. after the "Total Distance" message).
The text was updated successfully, but these errors were encountered: