- Posts: 9
- Thank you received: 0
Pan control visible but not active on mobile
- d0ugal
- Topic Author
- Offline
- New Member
Less
More
10 years 5 months ago - 10 years 5 months ago #5090
by d0ugal
Pan control visible but not active on mobile was created by d0ugal
Hi, i've got ZHGM running on wampserver J3.3 with a rockettheme template, I've made the map in a full-width module responsive along with the template with some css overrides.
In order for users to be able to scroll to content further down the page on a tablet or phone I've disabled dragging and kept the pan control visible, but it doesn't respond to user input on mobile devices (gingerbread motorola, jellybean samsung, ipad one).
By default Google Maps turns off pan @480px, and yet the zoom control on my map has also minimized to the default mobile '+ -' but is still functional. Is there a way to turn on more than just the visibility of the pan control?
... then mobile users could move the map around with the control, but still be able to scroll down the page with a swipe of the finger.
awesome component
just to explain further, above is a reduced screenshot of the full-width module at 4 different sizes... they are desktop screenies not mobile ones, so the phone-size version isn't displaying the map controls as it does on a real mobile device.
In order for users to be able to scroll to content further down the page on a tablet or phone I've disabled dragging and kept the pan control visible, but it doesn't respond to user input on mobile devices (gingerbread motorola, jellybean samsung, ipad one).
By default Google Maps turns off pan @480px, and yet the zoom control on my map has also minimized to the default mobile '+ -' but is still functional. Is there a way to turn on more than just the visibility of the pan control?
... then mobile users could move the map around with the control, but still be able to scroll down the page with a swipe of the finger.
awesome component
just to explain further, above is a reduced screenshot of the full-width module at 4 different sizes... they are desktop screenies not mobile ones, so the phone-size version isn't displaying the map controls as it does on a real mobile device.
Last edit: 10 years 5 months ago by d0ugal. Reason: include image of full-width responsive module
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 5 months ago #5096
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Pan control visible but not active on mobile
Hi.
I'm sorry, but look at
developers.google.com/maps/documentation/javascript/controls
It is not supported :P:P
I'm sorry, but look at
developers.google.com/maps/documentation/javascript/controls
It is not supported :P:P
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
Time to create page: 0.200 seconds