Skip to content

Commit

Permalink
fix the guide part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaeaubry committed Aug 15, 2024
1 parent 9ffa22b commit 44fd90b
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
"outputs": [],
"source": [
"# Plot on a map\n",
"state_map.draw(us_state.geometry)"
"state_map.content.draw(us_state.geometry)"
]
},
{
Expand Down Expand Up @@ -381,7 +381,7 @@
],
"source": [
"# Create a map\n",
"county_map = gis.map('California',6)\n",
"county_map = gis.map('California')\n",
"county_map"
]
},
Expand All @@ -392,7 +392,7 @@
"outputs": [],
"source": [
"# Plot on a map\n",
"county_map.draw(sb_county.geometry)"
"county_map.content.draw(sb_county.geometry)"
]
},
{
Expand Down Expand Up @@ -653,7 +653,7 @@
"outputs": [],
"source": [
"# Plot on a map\n",
"zip_map.draw(zip_92373.geometry)"
"zip_map.content.draw(zip_92373.geometry)"
]
},
{
Expand Down Expand Up @@ -1017,7 +1017,7 @@
],
"source": [
"# Create a map\n",
"district_map = gis.map('New Delhi, India', 9)\n",
"district_map = gis.map('New Delhi, India')\n",
"district_map"
]
},
Expand All @@ -1028,7 +1028,7 @@
"outputs": [],
"source": [
"# Plot on a map\n",
"district_map.draw(district.geometry)"
"district_map.content.draw(district.geometry)"
]
},
{
Expand Down Expand Up @@ -1198,7 +1198,7 @@
}
],
"source": [
"usamap = gis.map('United States', zoomlevel=4)\n",
"usamap = gis.map('United States')\n",
"usamap"
]
},
Expand All @@ -1213,7 +1213,7 @@
"outputs": [],
"source": [
"for riverside in riversides_in_usa:\n",
" usamap.draw(riverside.geometry)"
" usamap.content.draw(riverside.geometry)"
]
},
{
Expand Down

0 comments on commit 44fd90b

Please sign in to comment.