radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
912 stars 408 forks source link

Gmap Markers Readded after Removing????? #95

Open Vijayapriyacs opened 6 years ago

Vijayapriyacs commented 6 years ago

[private void ClearPoint_Click(object sender, EventArgs e) { if (gMap.Overlays.Count > 0) {

        gMap.Overlays.RemoveAt(0);
        gMap.Refresh();
    }

}](url)

Im using this code to remove overlay but I am unable to Clear it properly because When I click other button action after remove overlay action All the revoed markers and overlay re added into map

radioman commented 6 years ago

whats the problem?

Vijayapriyacs commented 6 years ago

I'm using Gmap.remove(markeroverlay) It's working well but this removed marker again added into map When I click any other buttons

On Sat 7 Jul, 2018, 7:50 PM radioman, notifications@github.com wrote:

whats the problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/radioman/greatmaps/issues/95#issuecomment-403218970, or mute the thread https://github.com/notifications/unsubscribe-auth/AXTW_LpsdA-2-bK7uTZmtAAsTPGKEDSjks5uEMPEgaJpZM4VGRwz .