Skip to content

Commit 8f39fd9

Browse files
sample updated according to suggestions
1 parent 34d107a commit 8f39fd9

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

samples/05_content_publishers/using_and_updating_GIS_content.ipynb

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@
680680
"cell_type": "markdown",
681681
"metadata": {},
682682
"source": [
683-
"We are only interested in the layers that correspond to cyclones in summer. We will overwrite the `layers` property of `SceneContent` class to update the layers of the new web scene"
683+
"We are only interested in the layers that correspond to cyclones in summer. We will remove the layers except the `April-June` layer using the `remove()` method"
684684
]
685685
},
686686
{
@@ -707,6 +707,13 @@
707707
"web_scene_obj.content.remove(2)"
708708
]
709709
},
710+
{
711+
"cell_type": "markdown",
712+
"metadata": {},
713+
"source": [
714+
"In the cell below we see that there is only two layers the basemap layer and the `April-June` layer "
715+
]
716+
},
710717
{
711718
"cell_type": "code",
712719
"execution_count": 25,
@@ -765,7 +772,7 @@
765772
"### Update basemap of new web scene\n",
766773
"We now have the necessary `layers` information. Let us also try to change the basemap to a darker shade. \n",
767774
"\n",
768-
"**Basemaps** are web maps that are stored in a **group** usually called **Basemaps**. Thus to get the list of basemaps available we use the `basemaps` property of `BasemapManager` class"
775+
"**Basemaps** are web maps that are stored in a **group** usually called **Basemaps**. We will be using 3d basemaps for scenes, which we will get using the property called `basemaps3d` of `BasemapManager` class"
769776
]
770777
},
771778
{
@@ -862,7 +869,7 @@
862869
"cell_type": "markdown",
863870
"metadata": {},
864871
"source": [
865-
"Now that we have performed the necessary updates, we can go ahead and publish this as a new web scene item on our portal. We will use the `save()` method of the `Scene` class to create a new `Scene`. Previously we used the `update()` method to update the web map which updates the existing web map"
872+
"Now that we have performed the necessary updates, we can go ahead and publish this as a new web scene item on our portal. We will use the `save()` method of the `Scene` class to create a new `Scene`. Previously we used the `update()` method to update the web map which updates the existing web map as opposed to creating a new web map"
866873
]
867874
},
868875
{
@@ -955,7 +962,7 @@
955962
"metadata": {},
956963
"source": [
957964
"# Summary\n",
958-
"In this sample, we observed how to consume web maps, web scenes and how to update them. During this process, the sample showed how to read a web feature layers, how to modify the map widget using code, how to make copy of an existing item into your account, how to look for basemaps"
965+
"In this sample, we observed how to consume web maps, web scenes and how to update and save them. During this process, the sample showed how to read web feature layers, how to modify the map widget using code, how to delete layers of a Scene and how to look for and set 3d basemaps"
959966
]
960967
}
961968
],

0 commit comments

Comments
 (0)