Skip to content

Commit 80dc26a

Browse files
authored
Merge pull request #2 from jyaistMap/jy-rvw-kh-parcel
remove take_screenshot text and replace with map code
2 parents 6cd638a + 33b9b6d commit 80dc26a

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

guide/04-feature-data-and-analysis/part4_query_parcels.ipynb

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -317,19 +317,6 @@
317317
"parcels_subset"
318318
]
319319
},
320-
{
321-
"cell_type": "code",
322-
"execution_count": 18,
323-
"metadata": {},
324-
"outputs": [],
325-
"source": [
326-
"from arcgis.widgets import MapView\n",
327-
"\n",
328-
"map = gis.map(\"USA\", zoomlevel=16)\n",
329-
"map.draw(parcels_subset)\n",
330-
"map.zoom_to_layer(parcels_subset)"
331-
]
332-
},
333320
{
334321
"cell_type": "code",
335322
"execution_count": 17,
@@ -349,7 +336,9 @@
349336
}
350337
],
351338
"source": [
352-
"map.take_screenshot()"
339+
"map = gis.map(\"USA\", zoomlevel=16)\n",
340+
"map.draw(parcels_subset)\n",
341+
"map.zoom_to_layer(parcels_subset)"
353342
]
354343
},
355344
{

guide/04-feature-data-and-analysis/part5_merge_parcels.ipynb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,7 @@
273273
" (a[\"attributes\"][\"objectid\"], a[\"attributes\"][\"globalid\"])\n",
274274
" for a in parcels_subset_dict[\"features\"]\n",
275275
" ]\n",
276-
")\n",
277-
"map = gis.map(\"Keowns, WI\")\n",
278-
"map.draw(parcels_subset)\n",
279-
"map.zoom_to_layer(parcels_subset)"
276+
")\n"
280277
]
281278
},
282279
{
@@ -298,7 +295,9 @@
298295
}
299296
],
300297
"source": [
301-
"map.take_screenshot()"
298+
"map = gis.map(\"Keowns, WI\")\n",
299+
"map.draw(parcels_subset)\n",
300+
"map.zoom_to_layer(parcels_subset)"
302301
]
303302
},
304303
{

0 commit comments

Comments
 (0)