Hi,
I'm new to Mapsui and I struggle to understand how to use the Viewportlimiter, BoundingBox, to set some boundaries and limits on the map. To be more precise:
-
How do i limit the zoom/pan to only show the map fullscreen (no white borders) ->

-
(Solved) I have several pins on the screen, plotting a shipping route. Is there a way to let the map show the center of the full route? Some kind of AutoBounds property? For example I would like the map to show the center of the route like:

Im going through the samples, but I don't see a lot of samples on the NavigateTo/ViewportLimiter etc.
Can you please assist me, or point me in a direction?
Thanks!
Hi,
I'm new to Mapsui and I struggle to understand how to use the Viewportlimiter, BoundingBox, to set some boundaries and limits on the map. To be more precise:
How do i limit the zoom/pan to only show the map fullscreen (no white borders) ->

(Solved) I have several pins on the screen, plotting a shipping route. Is there a way to let the map show the center of the full route? Some kind of AutoBounds property? For example I would like the map to show the center of the route like:

Im going through the samples, but I don't see a lot of samples on the NavigateTo/ViewportLimiter etc.
Can you please assist me, or point me in a direction?
Thanks!