fit the map area to show the road between two points #137
Replies: 4 comments 6 replies
-
thanks for sharing, it will be usefull we can add it as completary function |
Beta Was this translation helpful? Give feedback.
-
This recurse was avaliable in the last version? |
Beta Was this translation helpful? Give feedback.
-
i will add fit area camera method in general soon i will add it in 0.28+ |
Beta Was this translation helpful? Give feedback.
-
Fine, thanks for this. For now, I implemented the solution that Jesus send for the get the midle point, but I can't getter the currect zoom, you may help me with this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was just working with your new method
limitAreaMap
and with it I am able to fit the map with the selection of roads,First I took the coordinates of the two roads and then found a midpoint. Then using
BoundingBox
I am able to resize the map to fit the roadNot sure if its anyuseful to this project but still thought I would share,
if you want to be more precise than zooming out and control then use this
it based on distance i.e Kilometers
My.Video1.mp4
Beta Was this translation helpful? Give feedback.
All reactions