<?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: Mapwidget not displaying in Jupyter Notebook. in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805368#M2257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having similar issue in Google Colab. if I run this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;map1 = gis.&lt;/SPAN&gt;&lt;SPAN style="color: #795e26;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;map1.extent = example_item.extent&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;map1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Nothing is displayed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2020 02:47:44 GMT</pubDate>
    <dc:creator>OlgaZakharo</dc:creator>
    <dc:date>2020-05-18T02:47:44Z</dc:date>
    <item>
      <title>Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805361#M2250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can no longer see the mapview widget in jupyter notebook. I get the message that hide_modeswitch is set to True. This means when I try to display a webmap it does not show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from arcgis.mapping import WebMap&lt;BR /&gt;la_parks_trails = webmapjw(webmap)&lt;BR /&gt;la_parks_trails&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get the line&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;MapView(hide_mode_switch=True, layout=Layout(height='400px', width='100%'))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In the documentation it says that if theis hapens you must reinitialize the map. How do I do this? I have tried several ways and nothing works. I have also tried just creating a new project, but that dpesn't work either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 18:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805361#M2250</guid>
      <dc:creator>JamalWest2</dc:creator>
      <dc:date>2019-02-12T18:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805362#M2251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have the same issue:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/479876_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 18:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805362#M2251</guid>
      <dc:creator>AhmedGiwa1</dc:creator>
      <dc:date>2020-01-29T18:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805363#M2252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue too, can someone help?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480177_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 16:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805363#M2252</guid>
      <dc:creator>BelindaPeng</dc:creator>
      <dc:date>2020-02-03T16:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805364#M2253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-userid="391791" data-username="belinda.peng@chandleraz.gov" href="https://community.esri.com/people/belinda.peng@chandleraz.gov"&gt;Belinda Peng&lt;/A&gt;,&amp;nbsp;&lt;A _jive_internal="true" data-userid="388304" data-username="ahmedgiwa1" href="https://community.esri.com/people/ahmedgiwa1"&gt;Ahmed Giwa&lt;/A&gt;,&amp;nbsp;&lt;A _jive_internal="true" data-userid="293706" data-username="jawest1" href="https://community.esri.com/people/jawest1"&gt;Jamal West&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try running this in a cell&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;!jupyter nbextension enable &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;py widgetsnbextension‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post which create a new notebook and try to&amp;nbsp;display&amp;nbsp;Map Widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 06:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805364#M2253</guid>
      <dc:creator>ImranKhan_P</dc:creator>
      <dc:date>2020-02-04T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805365#M2254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Several of my students who are MAC users have this issue; we are all using the same version of Jupyter, same browser, same Anaconda, all updated everything today, and 2 out of 7 can't get maps in Jupyter. We tried the enable extension above and that does not fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts and workarounds welcome. Next stop is to move to Google CoLab Jupyter or Esri Notebooks...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 23:43:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805365#M2254</guid>
      <dc:creator>JenniferSwift</dc:creator>
      <dc:date>2020-02-07T23:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805366#M2255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just get this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482976_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 23:45:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805366#M2255</guid>
      <dc:creator>ValCannon2</dc:creator>
      <dc:date>2020-02-21T23:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805367#M2256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as a work around, Running the notebook in Jupyter notebooks (not Jupyter Lab) the Mapview displays properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There does seem to be a mapview.jupyter_target variable that's listed on the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.widgets.html#arcgis.widgets.MapView.jupyter_target"&gt;arcgis.widgets module api reference&lt;/A&gt; that is read_only.&amp;nbsp; though it can be set to "lab" or other string if you force it. But that doesn't seem to help anything. Also prior to setting it as I show below, reading the data produces an empty string.&amp;nbsp; I don't understand if this variable is just not set, but it also seems like it should be set based on the IDE you're using.&amp;nbsp; Is that the disconnect here?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems like the problem variable but again how to reset a read_only variable is elusive to me right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="489103" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489103_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 17:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805367#M2256</guid>
      <dc:creator>SamMontoia1</dc:creator>
      <dc:date>2020-04-17T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805368#M2257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having similar issue in Google Colab. if I run this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;map1 = gis.&lt;/SPAN&gt;&lt;SPAN style="color: #795e26;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;map1.extent = example_item.extent&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;map1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Nothing is displayed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 02:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805368#M2257</guid>
      <dc:creator>OlgaZakharo</dc:creator>
      <dc:date>2020-05-18T02:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805369#M2258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Google CoLab has the same issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 02:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805369#M2258</guid>
      <dc:creator>OlgaZakharo</dc:creator>
      <dc:date>2020-05-18T02:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mapwidget not displaying in Jupyter Notebook.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805370#M2259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did anyone ever get this resolved? Following some of the&lt;A href="https://developers.arcgis.com/python/sample-notebooks/using-and-updating-gis-content/" rel="nofollow noopener noreferrer" target="_blank"&gt; examples here&lt;/A&gt; and get this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcgis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; WebMap
web_map_obj &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; WebMap&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;item&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
web_map_obj

&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; MapView&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;hide_mode_switch&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; layout&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;Layout&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;height&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'400px'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; width&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'100%'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/mapwidget-not-displaying-in-jupyter-notebook/m-p/805370#M2259</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-12-12T09:23:13Z</dc:date>
    </item>
  </channel>
</rss>

