-
Notifications
You must be signed in to change notification settings - Fork 125
Attribution Control
Morten Nielsen edited this page Mar 14, 2014
·
4 revisions
Simply set the Layers
property to those layers that you want to display attribution for. Note that the terms of use for many services requires you to display some form of attribution, and this control will make that easy for you.
Attribution is displayed for visible layers only.
<esriTK:Attribution Layers="{Binding Layers, ElementName=MyMap}" />
If you only want to display attribution for layers that are visible at the current scale range, also set the Scale
property. Set this to 'NaN' (or don't set it) to avoid filtering by layer scale visibility.
<esriTK:Attribution Layers="{Binding Layers, ElementName=MyMap}"
Scale={Binding Scale, ElementName=MyMapView} />
For a support of layers with attribution depending on the current extent and scale also set the Extent
property.
<esriTK:Attribution Layers="{Binding Layers, ElementName=MyMap}"
Scale={Binding Scale, ElementName=MyMapView}
Extent={Binding Extent, ElementName=MyMapView} />