<?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: gis.map() displays text, not a map in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841286#M3545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. I should have posted my full code. '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;gis - GIS()&lt;/P&gt;&lt;P&gt;gis.map()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output text:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;"A Jupyter Widget"&lt;/PRE&gt;&lt;P&gt;Shouldn't I be seeing a map here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2017 18:26:30 GMT</pubDate>
    <dc:creator>JasonCarter</dc:creator>
    <dc:date>2017-12-19T18:26:30Z</dc:date>
    <item>
      <title>gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841284#M3543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just getting started with the Python API. Testing out my first Jupyter notebook and I am unable to see a map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running Conda v 4.3.31 and Jupyter 4.3.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I load the arcgis module and run the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gis.map() the notebook just returns text that says, "A Jupyter Widget"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made sure ipywidgets is installed and I ran the following command, but I still get the text rather than the map.&lt;/P&gt;&lt;PRE style="color: #333333; background: #f5f5f5; border: 1px solid #cccccc; font-size: 13.51px; margin: 0px 0px 10px; padding: 9.5px;"&gt;jupyter nbextension &lt;SPAN class="" style="color: #007020;"&gt;enable&lt;/SPAN&gt; --py widgetsnbextension&lt;/PRE&gt;&lt;P&gt;What can I do to solve this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 17:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841284#M3543</guid>
      <dc:creator>JasonCarter</dc:creator>
      <dc:date>2017-12-19T17:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841285#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The api reference is here&lt;/P&gt;&lt;P&gt;&lt;A href="http://esri.github.io/arcgis-python-api/apidoc/html/"&gt;http://esri.github.io/arcgis-python-api/apidoc/html/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;be careful there is little gis and big GIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some blogs posts&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/07/31/arcgis"&gt;ArcGIS API for Python... What is where&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/07/31/arcgis-api-for-python-geometry"&gt;ARCGIS API for python... Geometry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/07/09/arcgis-pro-2-jupyter-notebook-setup-basics"&gt;Jupyter notebooks setup&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 18:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841285#M3544</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-19T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841286#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. I should have posted my full code. '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;gis - GIS()&lt;/P&gt;&lt;P&gt;gis.map()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output text:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;"A Jupyter Widget"&lt;/PRE&gt;&lt;P&gt;Shouldn't I be seeing a map here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 18:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841286#M3545</guid>
      <dc:creator>JasonCarter</dc:creator>
      <dc:date>2017-12-19T18:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841287#M3546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have something to map... like a basemap or a point as in my 3rd example... (In [19]: line 3 )&lt;/P&gt;&lt;P&gt;&lt;IMG height="357" src="https://community.esri.com/legacyfs/online/391165_Jupyter_notebook_open_02.png" style="max-height: 100%; max-width: 100%;" width="587" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 18:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841287#M3546</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-19T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841288#M3547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My notebook looks exactly like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/install-and-set-up/#Test-your-install-with-jupyter-notebook" title="https://developers.arcgis.com/python/guide/install-and-set-up/#Test-your-install-with-jupyter-notebook"&gt;Install and set up | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except where there is a map image in the above link, my notebook displays a text string "A Jupyter Widget" (See image below). This makes me question if there is something wrong with my jupyter configuration? This is the question I am asking. Adding coordinates does not change my output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/391224_Untitled.jpg" style="width: 620px; height: 201px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 18:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841288#M3547</guid>
      <dc:creator>JasonCarter</dc:creator>
      <dc:date>2017-12-19T18:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841289#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would presume so, but I assumed you are logged&amp;nbsp; and have even tried the examples in the api documentation?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/using-the-gis/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;https://developers.arcgis.com/python/guide/using-the-gis/&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can't help, since it hasn't not work, so I presume it is because of installation or there is nothing to connect to ( ie ArcGIS online perhaps)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 19:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841289#M3548</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-19T19:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841290#M3549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A new version of the API was released today (v. 1.3). I guess that has something to do with the problem (that I experienced myself too today). I upgraded to the latest version and tried a lower version, but could not display the map in both instances.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/391247_map.png" style="width: 620px; height: 328px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 21:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841290#M3549</guid>
      <dc:creator>Ericvan_Rees</dc:creator>
      <dc:date>2017-12-19T21:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841291#M3550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting... perhaps this is a release issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 21:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841291#M3550</guid>
      <dc:creator>JasonCarter</dc:creator>
      <dc:date>2017-12-19T21:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841292#M3551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/289467"&gt;Jason Carter&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/121306"&gt;Eric van Rees&lt;/A&gt;‌ Thanks for documenting your issue, sorry the Python API isn't working for you. I have seen similar map widget errors before, they are normally related to the dependencies that the python API uses. Jason, I was able to reproduce your issue by creating a test environment with jupyter 4.3.0 and arcgis python api 1.3. I believe v1.3 of the API needs a more recent jupyter notebook dependency: we have an ipywidgets &amp;gt;5.2.2,&amp;lt;7 requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could both of you create a new blank &lt;A href="https://conda.io/docs/user-guide/tasks/manage-environments.html"&gt;conda environment&lt;/A&gt; and install the API through that environment? This will guarantee you have all the right dependencies. You can do that by running these commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;conda create --name new_blank_env_name&lt;BR /&gt;activate new_blank_env_name&lt;BR /&gt;conda install -c esri arcgis -y&lt;BR /&gt;jupyter notebook&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(If you're using an OSX/Linux machine, please use the "source activate new_blank_env_name" command instead.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if running the above commands do not fix the issue, or any other problems you have. I'm happy to help both of you resolve this issue!&lt;BR /&gt;&lt;BR /&gt;- David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 22:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841292#M3551</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-12-19T22:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: gis.map() displays text, not a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841293#M3552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 22:49:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/gis-map-displays-text-not-a-map/m-p/841293#M3552</guid>
      <dc:creator>JasonCarter</dc:creator>
      <dc:date>2017-12-19T22:49:57Z</dc:date>
    </item>
  </channel>
</rss>

