Skip to content

Commit af14e76

Browse files
committed
update intro, add sign-in for saving
1 parent 7bd4661 commit af14e76

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

guide/10-mapping-and-visualization/part1_introduction_to_using_the_map_widget.ipynb

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"\n",
3434
"The `arcgis.map` module offers components for managing maps and scenes to visualize GIS data and analysis in a rich, user-friendly, and interactive way that is specifically designed to work with 2D or 3D data content.\n",
3535
"\n",
36-
"The `GIS` object includes a map widget (implemented as the `arcgis.map.Map` class) for displaying geographic locations, and visualizing GIS content and analysis results. The `Map` class creates a mapping widget utilizing the [ArcGIS Maps SDK for Javascript](https://developers.arcgis.com/javascript/latest/) powered by the modern backend architecture and processing of [JupyterLab 4](https://blog.jupyter.org/jupyterlab-4-0-is-here-388d05e03442) and [Notebook 7](https://blog.jupyter.org/announcing-jupyter-notebook-7-8d6d66126dcf).\n",
36+
"The `GIS` object includes a [_map()_](/python/api-reference/arcgis.gis.toc.html#arcgis.gis.GIS.map) method that returns an instance of the [`arcgis.map.Map`](/python/api-reference/arcgis.map.toc.html#arcgis.map.Map) class which can be used for displaying geographic locations and visualizing GIS content, including analysis results. The _Map_ class creates a mapping widget utilizing the [ArcGIS Maps SDK for Javascript](https://developers.arcgis.com/javascript/latest/) powered by the modern backend architecture and processing of [JupyterLab 4](https://blog.jupyter.org/jupyterlab-4-0-is-here-388d05e03442) and [Notebook 7](https://blog.jupyter.org/announcing-jupyter-notebook-7-8d6d66126dcf).\n",
3737
"\n",
38-
"To use the map widget, call `gis.map()` method and assign it to a variable that you can then query to bring up the widget in the notebook as a new _Map_ object. Use the `mode='3d'` argument to create a new _Scene_."
38+
"To use the map widget, call the `gis.map()` method and assign it to a variable that you can then query to bring up the widget in the notebook as a new _Map_ object. Use the `mode='3d'` argument to create a new _Scene_."
3939
]
4040
},
4141
{
@@ -324,6 +324,22 @@
324324
"To save a new Web Map item, call the `save()` method initialized from a new map widget. This method creates and returns a new `Item` object of type Web Map. As parameters, you can specify all valid `Item` properties as shown below:"
325325
]
326326
},
327+
{
328+
"cell_type": "markdown",
329+
"metadata": {},
330+
"source": [
331+
"> _Note:_ Must be signed into an organization in order to save a web map"
332+
]
333+
},
334+
{
335+
"cell_type": "code",
336+
"execution_count": null,
337+
"metadata": {},
338+
"outputs": [],
339+
"source": [
340+
"gis = GIS(profile=\"web_gis_user\")"
341+
]
342+
},
327343
{
328344
"cell_type": "code",
329345
"execution_count": 21,
@@ -333,7 +349,7 @@
333349
"name": "stdout",
334350
"output_type": "stream",
335351
"text": [
336-
"<Item title:\"USA time zones and traffic counts WebMap\" type:Web Map owner:ArcGISPyAPIBot>\n"
352+
"<Item title:\"USA time zones and traffic counts WebMap\" type:Web Map owner:web_gis_user>\n"
337353
]
338354
}
339355
],

0 commit comments

Comments
 (0)