Exemplo n.º 1
0
 private void TextMarkerViewModel_DeleteMarkerEvent(object sender, TextMarkerInfo e)
 {
     if (MarkerLayerLoaded)
     {
         TextMarker.Markers.Clear();
         for (var i = 0; i < TextMarkerList.Count();)
         {
             var marker = TextMarkerList[i];
             if (e.ID == marker.Tag.ToString())
             {
                 TextMarkerList.Remove(marker);
             }
             else
             {
                 i++;
                 TextMarker.Markers.Add(marker);
             }
         }
     }
 }
 public TextMarkerViewModel()
 {
     _textMarkerInfo = new TextMarkerInfo();
 }