Exemplo n.º 1
0
 public void EventMarkerChanged(MapEventLayer.EventMarkerType markerType)
 {
     for (int i = 0; i < _penList.Count; i++)
     {
         if (_penList[i] is PenEvent)
         {
             _penList[i].ConvertTo <PenEvent>().ChangeMarker(markerType, i == _curLayer);
         }
     }
 }
Exemplo n.º 2
0
        internal void ChangeMarker(MapEventLayer.EventMarkerType markerType, bool isCur)
        {
            if (_layerInfo.MarkerType == markerType)
            {
                return;
            }

            _layerInfo.MarkerType = markerType;
            GraphicsLayer.Graphics.Clear();
            foreach (var e in _eventList)
            {
                AddGraphic(e.Key, CURR_GEO, e.Value.Count, isCur ? GeoStatus.Normal : GeoStatus.Reference);
            }
        }