예제 #1
0
        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();
        }
예제 #2
0
        public override void Dispose()
        {
            if (InnerMarker != null)
            {
                InnerMarker.Dispose();
                InnerMarker = null;
                MessageBox.Show("Pass in");
            }

            base.Dispose();
        }