OsmSharp / ui

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

Implement Suspend/Resume on iOS MapView #237

Open xivk opened 9 years ago

xivk commented 9 years ago

Implement a suspend/resume option on the iOS MapView to suspend rendering:

bool _renderingSuspended = false;

public void Pause()
{
    Map.Pause();
    _renderingSuspended = true;
}

public void Resume()
{
    _renderingSuspended = false;
    Map.Resume();
    Render();
}