-
Notifications
You must be signed in to change notification settings - Fork 64
Closed as not planned
Description
I'd like to use this option for better UX on mobile.
So far I've tried adding it to the Map component as a prop, to the mapComponent object, and as an option, but having no luck.
<Map
accessToken={PUBLIC_MAPBOX_API_TOKEN}
style="mapbox://styles/mapbox/outdoors-v11"
bind:this={mapComponent}
on:ready={onReady}
center={[event.location.lng, event.location.lat]}
zoom="4"
cooperativeGestures={true}
// or
options={{ cooperativeGestures: true }}
>
or mapComponent.cooperativeGesture = true;
or mapComponent.options = {cooperativeGesture = true};
Thought I'd check if it's supported or something I'm doing wrong. (most likely the latter, i'm a Svelte noob!)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels