public override void Refresh() { // clear markers markersOverlay.Clear(); mouseOveredMarkers.Clear(); // clear current marker if (currMarker != null) { currMarker.Dispose(); currMarker = null; } /* load projects from database * and add markers onto map */ loadProjects(); base.Refresh(); }
public override void Dispose() { if (InnerMarker != null) { InnerMarker.Dispose(); InnerMarker = null; MessageBox.Show("Pass in"); } base.Dispose(); }