Skip to content

Commit f9fb7ef

Browse files
authored
Merge pull request #2144 from Esri/ssong/green_sample
Update for how much green sample
2 parents e9d3b4a + 7437b64 commit f9fb7ef

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

samples/04_gis_analysts_data_scientists/how-much-green-is-Delhi-as-on-21-oct-2022.ipynb

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,9 @@
583583
"metadata": {},
584584
"outputs": [],
585585
"source": [
586-
"m = gis.map('New Delhi, India', 10)\n",
587-
"m.add_layer(masked)\n",
588-
"m.legend = True\n",
586+
"m = gis.map('New Delhi, India')\n",
587+
"m.content.add(masked)\n",
588+
"m.legend.enabled = True\n",
589589
"m"
590590
]
591591
},
@@ -601,6 +601,15 @@
601601
"![How-much-green-is-Delhi_output.PNG](attachment:How-much-green-is-Delhi_output.PNG)"
602602
]
603603
},
604+
{
605+
"cell_type": "code",
606+
"execution_count": null,
607+
"metadata": {},
608+
"outputs": [],
609+
"source": [
610+
"m.zoom = 10"
611+
]
612+
},
604613
{
605614
"cell_type": "markdown",
606615
"metadata": {},
@@ -755,9 +764,9 @@
755764
"name": "python",
756765
"nbconvert_exporter": "python",
757766
"pygments_lexer": "ipython3",
758-
"version": "3.9.16"
767+
"version": "3.11.10"
759768
}
760769
},
761770
"nbformat": 4,
762-
"nbformat_minor": 2
771+
"nbformat_minor": 4
763772
}

0 commit comments

Comments
 (0)