Can you give me an example about: add a marker by click on the map, and a button to clear all marker.
thanks!
Truong.
Can you give me an example about: add a marker by click on the map, and a button to clear all marker.
thanks!
Truong.
Truong,
We already have a sample to add markers by clicking on the map (Samples->GettingStarted->AddAClickEvent). Just add a button on the page with the following code in its Click event handler, it will be fine.
Map1.MarkerOverlay.Features.Clear();
Thanks,
Ben
Thanks!
My pleasure, Truong.