Forum
Google map integration - disable dragging on mobile?
I have 2 Google maps successfully integrated on a contact page. Just wondered (once map is integrated using Perch), whether anyone knew a solution to stop maps being draggable on mobile?
Thanks
Are you using our default script or your own?
At the moment, I've just embedded the map using standard Perch config - so users can change the address if required through the Perch CMS
The default code for displaying that map on the page doesn't have configuration for doing things like disabling dragging on mobile.
To customise it, you could make a copy of the code and implement your own changes if you wish. See "Using your own map display code" https://docs.grabaperch.com/docs/templates/attributes/type/map/
Thanks for the link Drew - once I get back onto this, will do this very thing.