Skip to content

Commit 724e744

Browse files
committed
change map.add_layer to map.content.add
1 parent 5601b02 commit 724e744

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

samples/04_gis_analysts_data_scientists/analyzing_violent_crime.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"metadata": {},
296296
"outputs": [],
297297
"source": [
298-
"crime_map.add_layer(violent_crimes)"
298+
"crime_map.content.add(violent_crimes)"
299299
]
300300
},
301301
{
@@ -416,7 +416,7 @@
416416
"metadata": {},
417417
"outputs": [],
418418
"source": [
419-
"crime_spots_map.add_layer(crime_hot_spots)"
419+
"crime_spots_map.content.add(crime_hot_spots)"
420420
]
421421
},
422422
{
@@ -539,7 +539,7 @@
539539
"metadata": {},
540540
"outputs": [],
541541
"source": [
542-
"liquor_hot_spots_map.add_layer(liquor_vendor_hot_spots_lyr)"
542+
"liquor_hot_spots_map.content.add(liquor_vendor_hot_spots_lyr)"
543543
]
544544
},
545545
{
@@ -692,7 +692,7 @@
692692
"metadata": {},
693693
"outputs": [],
694694
"source": [
695-
"poverty_data_hot_spots_map.add_layer(poverty_data_hot_spots)"
695+
"poverty_data_hot_spots_map.content.add(poverty_data_hot_spots)"
696696
]
697697
},
698698
{
@@ -905,7 +905,7 @@
905905
"metadata": {},
906906
"outputs": [],
907907
"source": [
908-
"intersected_map.add_layer(intersect_cri_pov_liq)"
908+
"intersected_map.content.add(intersect_cri_pov_liq)"
909909
]
910910
},
911911
{
@@ -1032,7 +1032,7 @@
10321032
"metadata": {},
10331033
"outputs": [],
10341034
"source": [
1035-
"unemployment_rate_hot_spots_map.add_layer(unemployment_rate_hot_spots)"
1035+
"unemployment_rate_hot_spots_map.content.add(unemployment_rate_hot_spots)"
10361036
]
10371037
},
10381038
{
@@ -1167,7 +1167,7 @@
11671167
"metadata": {},
11681168
"outputs": [],
11691169
"source": [
1170-
"overlay_map.add_layer(overlay_unemp_crime)"
1170+
"overlay_map.content.add(overlay_unemp_crime)"
11711171
]
11721172
},
11731173
{
@@ -1287,7 +1287,7 @@
12871287
"metadata": {},
12881288
"outputs": [],
12891289
"source": [
1290-
"selected_high_schools_map.add_layer(selected_schools)"
1290+
"selected_high_schools_map.content.add(selected_schools)"
12911291
]
12921292
},
12931293
{

0 commit comments

Comments
 (0)