AnsweredAssumed Answered

ArcGISTiledMapServiceLayer's ServiceUri not binding to View Model's String Property

Question asked by rvinc on Oct 2, 2015
Latest reply on Oct 5, 2015 by TTilton-esristaff

This is in regards to ArcGIS Runtime SDK for .NET (WPF) 10.2.6.. I have a ArcGISTiledMapServiceLayer and ArcGISDynamicMapServiceLayer that are attempting to get their ServiceUri from a string property on the View Model but it doesn't work. Other bindings work, even ones that are also string properties. ServiceUri is a string.


<esri:ArcGISTiledMapServiceLayer ID="Basemap"
          ServiceUri="{Binding Path=BasemapUri}"/>

<esri:ArcGISDynamicMapServiceLayer ID="USA" 
                         ServiceUri="{Binding USAUri}"/>


Any ideas as to why this would happen? I'm using MVVM Light. It's a string according to this:

ArcGISTiledMapServiceLayer.ServiceUri Property