<?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: switching tiledmaplayer problem in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18851#M508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a tiledmaplayer drives the spatial reference of the map, you can't change that easily a tiledmaplayer if the spatial reference of the tiled layer changes (the spatial reference of the tiled layers must be the spatial reference of the map else the tiled layers don't show up).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps to do it are :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- clear all layers in the map : myMap.Layers.Clear();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- clear the extent (that will clear the map SR) : myMap.Extent = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- now you can add your new tiled layer : myMap.Layers.Add(myTiledLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note : before clearing the layers, you can store them in a private array so you can add them again at the end of the process&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 12:57:52 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2012-06-13T12:57:52Z</dc:date>
    <item>
      <title>switching tiledmaplayer problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18850#M507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanna switch tiledmaplayer of my Map but, can not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The spatial references are here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;1. Arcgis 9.3.1 &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Spatial Reference:&lt;/STRONG&gt;&lt;SPAN&gt; PROJCS["Transverse Mercator",GEOGCS["GCS_D_ITRF_1996",DATUM["D_ITRF_1996",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",30.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;2. Arcgis 10&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Spatial Reference: &lt;/STRONG&gt;&lt;SPAN&gt;PROJCS["WGS_1984_UTM_Zone_35N",GEOGCS["GCS_WGS_1984",DATUM["D_ITRF_1996",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",30.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In arcgis server sample applications site, the spatial references are not like mine, they are numeric codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Spatial Reference: 102100 (3857)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do you think the issue is about spatial reference, or arcgis server version problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 11:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18850#M507</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-13T11:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: switching tiledmaplayer problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18851#M508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a tiledmaplayer drives the spatial reference of the map, you can't change that easily a tiledmaplayer if the spatial reference of the tiled layer changes (the spatial reference of the tiled layers must be the spatial reference of the map else the tiled layers don't show up).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps to do it are :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- clear all layers in the map : myMap.Layers.Clear();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- clear the extent (that will clear the map SR) : myMap.Extent = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- now you can add your new tiled layer : myMap.Layers.Add(myTiledLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note : before clearing the layers, you can store them in a private array so you can add them again at the end of the process&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 12:57:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18851#M508</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-06-13T12:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: switching tiledmaplayer problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18852#M509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;As a tiledmaplayer drives the spatial reference of the map, you can't change that easily a tiledmaplayer if the spatial reference of the tiled layer changes (the spatial reference of the tiled layers must be the spatial reference of the map else the tiled layers don't show up).&lt;BR /&gt;&lt;BR /&gt;The steps to do it are :&lt;BR /&gt;- clear all layers in the map : myMap.Layers.Clear();&lt;BR /&gt;- clear the extent (that will clear the map SR) : myMap.Extent = null;&lt;BR /&gt;- now you can add your new tiled layer : myMap.Layers.Add(myTiledLayer);&lt;BR /&gt;&lt;BR /&gt;Note : before clearing the layers, you can store them in a private array so you can add them again at the end of the process&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand, but &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap"&gt;this example&lt;/A&gt;&lt;SPAN&gt; did not clear all layers, but it works. The tiled maps are changed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:11:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18852#M509</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-13T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: switching tiledmaplayer problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18853#M510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I understand, but &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap"&gt;this example&lt;/A&gt; did not clear all layers, but it works. The tiled maps are changed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the example you point out, all tiled layers are using the same spatial reference (102100).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps I gave are only useful to replace a tiled layer by a tiled layer in another spatial reference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18853#M510</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-06-13T13:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: switching tiledmaplayer problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18854#M511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In the example you point out, all tiled layers are using the same spatial reference (102100).&lt;BR /&gt;The steps I gave are only useful to replace a tiled layer by a tiled layer in another spatial reference.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, are the spatial references different, that I gave above? or same?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[PHP]1. Arcgis 9.3.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spatial Reference: PROJCS["Transverse Mercator",GEOGCS["GCS_D_ITRF_1996",DATUM["D_ITRF_1996",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",30.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Arcgis 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spatial Reference: PROJCS["WGS_1984_UTM_Zone_35N",GEOGCS["GCS_WGS_1984",DATUM["D_ITRF_1996",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",30.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]][/PHP]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;these looks like same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 04:51:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18854#M511</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-14T04:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: switching tiledmaplayer problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18855#M512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, are the spatial references different, that I gave above? or same?&lt;BR /&gt;[PHP]1. Arcgis 9.3.1&lt;BR /&gt;&lt;BR /&gt;Spatial Reference: PROJCS["Transverse Mercator",GEOGCS["GCS_D_ITRF_1996",DATUM[&lt;BR /&gt;2. Arcgis 10&lt;BR /&gt;&lt;BR /&gt;Spatial Reference: PROJCS["WGS_1984_UTM_Zone_35N",GEOGCS["GCS_WGS_1984",DATUM[&lt;BR /&gt;&lt;BR /&gt;these looks like same.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The names are different, therefore, they are different.&amp;nbsp; Even though the other parameters may be the same&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 05:11:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switching-tiledmaplayer-problem/m-p/18855#M512</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-06-14T05:11:11Z</dc:date>
    </item>
  </channel>
</rss>

