Select to view content in your preferred language

Measure using InteractionTrigger always remove the graphic when finish

826
2
03-24-2011 05:45 AM
MariaFernandez
Deactivated User
I have this checkbox with the InteractionTrigger to measure.
It work Ok, my question is:
It is posible to keep the graphic draw in the map after we doubleclick to finish the measure action?

<CheckBox x:Name="DisplayMeasureCheckBox" Content="Display Measure Values?"
                                   Grid.Column="0"
                                   FontWeight="Medium" Padding="2" VerticalAlignment="Bottom" HorizontalAlignment="Left">
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Checked">
                                    <esri:MeasureAction AreaUnit="SquareMiles" DisplayTotals="True" DistanceUnit="Miles" MapUnits="DecimalDegrees" MeasureMode="Polygon"
                                            FillSymbol="{StaticResource DefaultFillSymbol}" TargetName="MyMap" />
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </CheckBox>

Thanks!!!
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
This is by design. Although this related thread might help you keep the graphics drawn by MeasureAction: http://forums.arcgis.com/threads/13902-about-after-using-measure-behavior-the-graph-can-t-stay-in-th...
0 Kudos
MariaFernandez
Deactivated User
This is by design. Although this related thread might help you keep the graphics drawn by MeasureAction: http://forums.arcgis.com/threads/13902-about-after-using-measure-behavior-the-graph-can-t-stay-in-th...


Thanks!!

Done!! I was able to keep the graphic using your suggestions.

THANKS!!!!!
0 Kudos