Mapbox - changing pitch on touch screens

332 Views Asked by At

In MapBoxGL JS the pitch of a map can be changed by holding down the CTRL key, holding down the mouse and then moving it. Is there an equivalent way to accomplish this on a touch screen with no keyboard (e.g. smartphones). The context of this question - I want to use mapInstance.getPitch to record the last pitch selected by the user.

1

There are 1 best solutions below

0
Budimir Grom On

Yes, using two fingers on one's smartphone.