<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: question about dynamic maplayer url in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53905#M1397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you seen this example.&amp;nbsp; It might help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddLayerDynamically"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddLayerDynamically&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 20:22:01 GMT</pubDate>
    <dc:creator>JMcNeil</dc:creator>
    <dc:date>2011-01-19T20:22:01Z</dc:date>
    <item>
      <title>question about dynamic maplayer url</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53904#M1396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been following the tutorial in ESRI Interactive SDK, where the map URL is hardcoded in the xaml side of SL page. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now let's say there's a scenario where the map server is different for different users. In such a case, how can I add the map layer into my SL page? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as my attempt is concerned, I tried binding the map layer url as such:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;esri:ArcGISTiledMapServiceLayer x:Name="MapLayerUrl" ID="StreetMapLayer" Url="{Binding mapUrl}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its not working. InitializeComponent() in the constructor receives error from ESRI.ArcGIS.Client, which I'm assumig is expecting an absolute url string. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 17:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53904#M1396</guid>
      <dc:creator>SangamLama</dc:creator>
      <dc:date>2011-01-19T17:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: question about dynamic maplayer url</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53905#M1397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you seen this example.&amp;nbsp; It might help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddLayerDynamically"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddLayerDynamically&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 20:22:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53905#M1397</guid>
      <dc:creator>JMcNeil</dc:creator>
      <dc:date>2011-01-19T20:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: question about dynamic maplayer url</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53906#M1398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Url is not a DependencyProperty that's why you cannot Bind to it. In addition to J's sample, you can also look at : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap&lt;/A&gt;&lt;SPAN&gt;. The ArcGISTiledMapServiceLayer.Url is updated in code-behind.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 21:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53906#M1398</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-01-19T21:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: question about dynamic maplayer url</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53907#M1399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Url is not a DependencyProperty that's why you cannot Bind to it. In addition to J's sample, you can also look at : &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap&lt;/A&gt;. The ArcGISTiledMapServiceLayer.Url is updated in code-behind.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;easy enough. thanks to you both!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 11:39:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/question-about-dynamic-maplayer-url/m-p/53907#M1399</guid>
      <dc:creator>SangamLama</dc:creator>
      <dc:date>2011-01-20T11:39:57Z</dc:date>
    </item>
  </channel>
</rss>

