Select to view content in your preferred language

ArcGIS Python Export Map to HTML is blank

1162
11
04-19-2023 01:41 PM
UnsungHer0z
New Contributor II

Creating a map in Jupyter notebook allows me to display a map, but when I use the export_to_html() or embed() methods, the map is blank.

#gis defined above using api key
map1 = gis.map('California, USA', zoomlevel=5)
map1

 This code produces this:

UnsungHer0z_0-1681936741543.png

Using export_to_html(), the file is blank when opened in Firefox. When using embed, this is the result:

UnsungHer0z_1-1681936837101.png

 

 

11 Replies
Beached_Buoy
New Contributor

Forgive me for bumping an old topic, but I don't see a resolution in this thread. I'm having the same problem. 

I am using the Docker package with ArcGIS 2.2.0-python3.9. 

I'm unable to use the latest Docker package, for reasons I'll post in separate message.

0 Kudos
Beached_Buoy
New Contributor

I just tried to run the tutorial Saving ... a Map Widget in Google Colab, but I get the same result: a blank screen when I open the HTML file.

0 Kudos