<?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 Reset Map's Properties To Use Different Spatial Reference? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49311#M1134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to 'reset' all of the properties (e.g. LODs, spatial reference, layers, etc.) for a Map component without creating a new one? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to 'swap' some layers that have different spatial references and the only way that this works for me is to either create a new Map instance or have a Map instance for each spatial reference to be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-jc.franco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 16:06:35 GMT</pubDate>
    <dc:creator>MitchKoyle</dc:creator>
    <dc:date>2010-10-26T16:06:35Z</dc:date>
    <item>
      <title>Reset Map's Properties To Use Different Spatial Reference?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49311#M1134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to 'reset' all of the properties (e.g. LODs, spatial reference, layers, etc.) for a Map component without creating a new one? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to 'swap' some layers that have different spatial references and the only way that this works for me is to either create a new Map instance or have a Map instance for each spatial reference to be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-jc.franco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 16:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49311#M1134</guid>
      <dc:creator>MitchKoyle</dc:creator>
      <dc:date>2010-10-26T16:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Map's Properties To Use Different Spatial Reference?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49312#M1135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The map's spatialReference property is read-only since we don't officially support changing it. Technically, it can be changed though by setting map.spatialReference.wkid. You'll also need to reproject any client side graphics.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 18:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49312#M1135</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-10-28T18:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Map's Properties To Use Different Spatial Reference?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49313#M1136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The map's spatialReference property is read-only since we don't officially support changing it. Technically, it can be changed though by setting map.spatialReference.wkid. You'll also need to reproject any client side graphics.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out that it is possible to 'swap' map services just by changing the layer's url. They just need to have matching LODs. Since my demo was using two services with no common LODs, I was getting an empty map when changing map services. The way I was overcoming this was to create new instances of Map for each 'swap.'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-jc.franco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 23:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/reset-map-s-properties-to-use-different-spatial/m-p/49313#M1136</guid>
      <dc:creator>MitchKoyle</dc:creator>
      <dc:date>2010-11-02T23:04:34Z</dc:date>
    </item>
  </channel>
</rss>

