You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I am unable to get this prop working. After looking at the source code it looks like there is actually not an option to pass bounds. There is an initialBounds prop but it looks like that doesn't do anything either.
I think this may be a version issue? I have version 0.4.1 installed which is the latest on npm.
The text was updated successfully, but these errors were encountered:
Just in case anyone has the same issue and is looking for a solution.. I created a new component that extended the MglMap but accepted bounds as a prop, it then works as expected when using :bounds as apposed to :initial-bounds
The docs specify a
bounds
prop here: https://soal.github.io/vue-mapbox/api/#boundsHowever, I am unable to get this prop working. After looking at the source code it looks like there is actually not an option to pass bounds. There is an
initialBounds
prop but it looks like that doesn't do anything either.I think this may be a version issue? I have version
0.4.1
installed which is the latest on npm.The text was updated successfully, but these errors were encountered: