<?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: Overview Map On Hide/Show events in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220489#M20476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I know. Well, this is what I use until the JS team will add functionality.&lt;BR /&gt;I am not worried about the unnecessary firing. The client will handle it...&lt;BR /&gt;Oren&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ah, sorry, didn't look close enough at what you were doing, clever that (what you are doing, not me not looking)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Working on it now, many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2013 08:00:53 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2013-06-04T08:00:53Z</dc:date>
    <item>
      <title>Overview Map On Hide/Show events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220484#M20471</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;BR /&gt;&lt;SPAN&gt;Am I missing something, but according to the API notes there appears to be no events for the overview map.&amp;nbsp; What i am wanting to do is when a user hides the overview map, a cookie/local storage thingy is written with the map status.&amp;nbsp; This will then get read in next time they use the page.&amp;nbsp; But I can't seem to find any events to hang the code from&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 13:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220484#M20471</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-04-23T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Map On Hide/Show events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220485#M20472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have any experience with the OverviewMap so this is all just a wild guess/suggestion but how about adding a listener to the overview map based on a CSS styling change? Presumably, the CSS is just changed to "display:hidden" when it's minimized. I don't know how you would craft a dojo.connect for a CSS styling change but &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/1397251/event-detect-when-css-property-changed-using-jquery"&gt;this link&lt;/A&gt;&lt;SPAN&gt; has some hints about event handlers for CSS changes in general.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 14:12:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220485#M20472</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-04-23T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Map On Hide/Show events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220486#M20473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.connect(overviewMap, "onClick", overviewMapClick);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;function overviewMapClick() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; localStorage.overviewMap = (overviewMap.visible ? "max" : "min");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after creating the overview (next time) check:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (localStorage.overviewMap == "min")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overviewMap.hide();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 03:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220486#M20473</guid>
      <dc:creator>OrenGal</dc:creator>
      <dc:date>2013-06-04T03:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Map On Hide/Show events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220487#M20474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, but alas, that fires off every time you click onto the overview map in order to navigate using it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the Hide button have its own events I wonder?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 07:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220487#M20474</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-06-04T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Map On Hide/Show events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220488#M20475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know. Well, this is what I use until the JS team will add functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not worried about the unnecessary firing. The client will handle it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 07:50:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220488#M20475</guid>
      <dc:creator>OrenGal</dc:creator>
      <dc:date>2013-06-04T07:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Map On Hide/Show events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220489#M20476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I know. Well, this is what I use until the JS team will add functionality.&lt;BR /&gt;I am not worried about the unnecessary firing. The client will handle it...&lt;BR /&gt;Oren&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ah, sorry, didn't look close enough at what you were doing, clever that (what you are doing, not me not looking)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Working on it now, many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 08:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/overview-map-on-hide-show-events/m-p/220489#M20476</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-06-04T08:00:53Z</dc:date>
    </item>
  </channel>
</rss>

