OsmSharp / ui

The UI components.
http://osmsharp.com/
GNU General Public License v2.0
139 stars 91 forks source link

Map control size and layout #261

Closed JoeCooper closed 8 years ago

JoeCooper commented 9 years ago

Regarding MapControl<...> in Android: Assigning a new size to the control causes it to lose its layout. When I try to control the size for the purpose of painting a dynamically sized accuracy indicator, it snaps to the upper left corner.

So instead of rebooting the layout parameters, I have it control the size, and then notify the host that the control has changed, so that it executes the layout.

JoeCooper commented 8 years ago

Ping