Skip to content

Commit 73de960

Browse files
Merge pull request #7 from jyaistMap/jy-rvw-batch-gcode
remove duplicate code
2 parents 234fa69 + ab4684f commit 73de960

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

guide/09-finding-places-with-geocoding/part4_batch_geocoding.ipynb

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -990,32 +990,7 @@
990990
},
991991
{
992992
"cell_type": "code",
993-
"execution_count": 46,
994-
"metadata": {},
995-
"outputs": [],
996-
"source": [
997-
"for airport in airports:\n",
998-
" airport['location'].update({\"spatialReference\" : {\"wkid\" : 4326}})"
999-
]
1000-
},
1001-
{
1002-
"cell_type": "code",
1003-
"execution_count": 47,
1004-
"metadata": {},
1005-
"outputs": [],
1006-
"source": [
1007-
"for airport in airports:\n",
1008-
" popup = PopupInfo(**{ \n",
1009-
" \"title\" : airport['attributes']['PlaceName'], \n",
1010-
" \"description\" : airport['address']\n",
1011-
" }\n",
1012-
" )\n",
1013-
" map2.content.draw(airport['location'], popup)"
1014-
]
1015-
},
1016-
{
1017-
"cell_type": "code",
1018-
"execution_count": 132,
993+
"execution_count": null,
1019994
"metadata": {},
1020995
"outputs": [],
1021996
"source": [
@@ -1042,7 +1017,7 @@
10421017
}
10431018
],
10441019
"source": [
1045-
"map2 = Map(\"CA\")\n",
1020+
"map2 = Map(\"California\")\n",
10461021
"map2"
10471022
]
10481023
},

0 commit comments

Comments
 (0)