Hi,
With ArcGIS Runtime version 10.2.x, it was possible to optionally specify a "margin" (thickness) on the MapView.SetViewAsync() operations. Very convenient for the map to be correctly centered when, for example, a horizontal menu bar covers the bottom of the map (but may disappear in some cases).
Example:
await MapView1.SetViewAsync(mpYouAreHere, dblScale, tsDelay, new Thickness(0, 0, 0, Menu.ActualHeight));
I try to migrate my application to the new Runtime version 100 but I do not find this possibility.
There is indeed a "padding" argument in the MapView.SetViewpointGeometryAsync() method but it is of type "double" but not "thickness" ; It is therefore not possible to specify a different "margin" for the 4 sides.
Do you have an idea to help me?
Thank you in advance.
damien.