Dominique,I tried that, but this only fires on load. I put a breakpoint in the sample and it only fired when the dialog loaded. Is there a way to catch the extent change on the map in the dialog?Chris
mapPrinter.DataItems["MyIdentifyResult"] = MyIdentifyResult();
Dominique,I am mainly interested in unique maps. Where do I put that code to have it fire with the extent change?
private void mapPrinter_PageChanged(object sender, PageChangedEventArgs e) { var mapPrinter = sender as MapPrinter; if (mapPrinter != null) { mapPrinter.DataItems["MyIdentifyResult"] = MyIdentifyResultFromPage(e.Page); // MyIdentifyResultFromPage to write depending on your context } }
<TextBlock TextWrapping="Wrap" Text="{Binding DataItems[MyIdentifyResult], RelativeSource={RelativeSource TemplatedParent}}"/>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.