protected override void OnDestroy()
 {
     GLMapManager.RemoveStateListener(this);
     if (markerLayer != null)
     {
         markerLayer.Dispose();
         markerLayer = null;
     }
     base.OnDestroy();
 }
Пример #2
0
 protected override void OnDestroy()
 {
     GLMapManager.RemoveStateListener((IStateListener)this);
     base.OnDestroy();
 }