protected override FrameworkElement CreateOrderElement(object orderOrStop)
        {
            Debug.Assert(orderOrStop != null && orderOrStop is Stop);

            // Create order label sequence image.
            return(AdornHelpers.CreateLabelSequenceSymbol(orderOrStop as Stop));
        }
Пример #2
0
 protected override FrameworkElement CreateOrderElement(object orderOrStop)
 {
     if (orderOrStop is Stop && App.Current.MapDisplay.LabelingEnabled)
     {
         return(AdornHelpers.CreateLabelSequenceSymbol(orderOrStop as Stop));
     }
     else
     {
         return(AdornHelpers.CreateCustomOrderSymbol(orderOrStop));
     }
 }