<?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 How to code switching view for multi-source maps? in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/how-to-code-switching-view-for-multi-source-maps/m-p/1240325#M50</link>
    <description>&lt;P&gt;Hi, I am working on a custom widget that will be used in an experience created with the Foldable template and 2 sources for the map widget (a webmap and a webscene of my area). Of course, it is very easy to switch views using the switch map tool that appears "magically" at the bottom left, but I would like to code the view switch in the widget.&amp;nbsp; Right now, when I want to perform the switch, I know how to determine if the active view is 2d or 3d. I tried to change the state of my active view by changing its property isActive as well as other crazy ideas... all with any success.&lt;/P&gt;&lt;P&gt;Thanks for any suggestion.&lt;/P&gt;&lt;P&gt;Also, I used console.log to inspect my view and noticed that in the JimuMapTools section there is no mention of a switch map tool&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 20:09:49 GMT</pubDate>
    <dc:creator>clc</dc:creator>
    <dc:date>2022-12-12T20:09:49Z</dc:date>
    <item>
      <title>How to code switching view for multi-source maps?</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/how-to-code-switching-view-for-multi-source-maps/m-p/1240325#M50</link>
      <description>&lt;P&gt;Hi, I am working on a custom widget that will be used in an experience created with the Foldable template and 2 sources for the map widget (a webmap and a webscene of my area). Of course, it is very easy to switch views using the switch map tool that appears "magically" at the bottom left, but I would like to code the view switch in the widget.&amp;nbsp; Right now, when I want to perform the switch, I know how to determine if the active view is 2d or 3d. I tried to change the state of my active view by changing its property isActive as well as other crazy ideas... all with any success.&lt;/P&gt;&lt;P&gt;Thanks for any suggestion.&lt;/P&gt;&lt;P&gt;Also, I used console.log to inspect my view and noticed that in the JimuMapTools section there is no mention of a switch map tool&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 20:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/how-to-code-switching-view-for-multi-source-maps/m-p/1240325#M50</guid>
      <dc:creator>clc</dc:creator>
      <dc:date>2022-12-12T20:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to code switching view for multi-source maps?</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/how-to-code-switching-view-for-multi-source-maps/m-p/1348585#M128</link>
      <description>&lt;P&gt;Maybe EXB does not support exchanging 2D and 3D in same page, andthe way is that the widget will direct to a different page which has the wanted sources?&lt;/P&gt;&lt;P&gt;I am newbie to EXB so I will be happy to know&amp;nbsp; if the above makes sense at all, and what is the solution indeed.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 10:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/how-to-code-switching-view-for-multi-source-maps/m-p/1348585#M128</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2023-11-13T10:09:40Z</dc:date>
    </item>
  </channel>
</rss>

