Skip to content

Conversation

RoduanKD
Copy link

@RoduanKD RoduanKD commented Jun 15, 2022

Peace be upon you guys!
I hope you're doing well.
I've added support to cooperative gestures, enabling zoom scrolling only when holding ctrl/command key.
sample usage:

<mgl-map
    id="map"
    :access-token="accessToken"
    :map-style="style"
    :cooperative-gestures="true"
    @load="onMapLoad"
/>

screenshot:

image

incase someone needed this feature before this pull is merged you can use it by installing the package from this pull request directly:
npm i soal/vue-mapbox#pull/258/head

have a nice day.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant