toggle size map on mobile?
Posted: Tue Apr 27, 2021 3:53 pm
Hi all, I need some help on this if you can?
I'm designing a skin for a skytour of my city. Part of that is a Google map. On PC it works well, if I hover over it it becomes bigger to navigate it.
I've made the map hide on mobile and a duplicated map to show on mobiel. That works, so far so good. I've changed mouse hover to mouse down to change the size on mobile. That also works.
However when I lift my finger the map reverts to small. This way it won't stay open to navigate.
how can I toggle it between big and small? So one press = make big and stay big, second press = make small and stay small.
I've looked through options in the Logic blocks and actions but can't seem te find a way.
In actions I can find a way to Mouse click > toggle element position, but what I would need is Mouse click > toggle element size.
The preview is here: https://landsnatuur.nl/360vr/skytour-zevenaar/
How would I go about this?
kind regards, Frank
I'm designing a skin for a skytour of my city. Part of that is a Google map. On PC it works well, if I hover over it it becomes bigger to navigate it.
I've made the map hide on mobile and a duplicated map to show on mobiel. That works, so far so good. I've changed mouse hover to mouse down to change the size on mobile. That also works.
However when I lift my finger the map reverts to small. This way it won't stay open to navigate.
how can I toggle it between big and small? So one press = make big and stay big, second press = make small and stay small.
I've looked through options in the Logic blocks and actions but can't seem te find a way.
In actions I can find a way to Mouse click > toggle element position, but what I would need is Mouse click > toggle element size.
The preview is here: https://landsnatuur.nl/360vr/skytour-zevenaar/
How would I go about this?
kind regards, Frank