mapbox/mapbox-gl-directions

flyTo option does not work

Open

#244 opened on Apr 21, 2020

 (9 comments) (1 reaction) (0 assignees)JavaScript (130 forks)github user discovery
help wanted

Repository metrics

Stars
 (253 stars)
PR merge metrics
 (Avg merge 22h 39m) (1 merged PR in 30d)

Description

I can't turn off map moving when I set origin and destination. I tried to set flyTo: false, but it doesn't work and map still moves to the place between point A and B. How I can just generate route, without moving the map?

Contributor guide