Skip to content

Commit 2de7c10

Browse files
committed
Update map add_layer to content.add
1 parent 366b1ec commit 2de7c10

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

samples/04_gis_analysts_data_scientists/locating_a_new_retirement_community.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
},
254254
"outputs": [],
255255
"source": [
256-
"m1.add_layer(target_community)"
256+
"m1.content.add(target_community)"
257257
]
258258
},
259259
{
@@ -361,8 +361,8 @@
361361
},
362362
"outputs": [],
363363
"source": [
364-
"target_area_map.add_layer(target_area)\n",
365-
"target_area_map.add_layer(target_community)"
364+
"target_area_map.content.add(target_area)\n",
365+
"target_area_map.content.add(target_community)"
366366
]
367367
},
368368
{
@@ -2189,7 +2189,7 @@
21892189
"outputs": [],
21902190
"source": [
21912191
"map1 = gis.map('Atlanta')\n",
2192-
"map1.add_layer(top_4_most_similar_results)"
2192+
"map1.content.add(top_4_most_similar_results)"
21932193
]
21942194
},
21952195
{
@@ -2201,7 +2201,7 @@
22012201
"outputs": [],
22022202
"source": [
22032203
"map2 = gis.map('Houston')\n",
2204-
"map2.add_layer(top_4_most_similar_results)"
2204+
"map2.content.add(top_4_most_similar_results)"
22052205
]
22062206
},
22072207
{

0 commit comments

Comments
 (0)