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}}"/>
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.