Skip to content

Commit

Permalink
Update leafmap notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Oct 9, 2024
1 parent 0044afb commit 4d13e37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions book/geospatial/leafmap.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@
"source": [
"### Customizing the Map\n",
"\n",
"You can customize the map's center, zoom level, and height. The `center` takes a tuple of latitude and longitude, `zoom` is an integer, and `height` specifies the map height in pixels. The example below centers the map on the U.S. with a zoom level of 4 and a height of 600 pixels:\n",
"\n",
"```python"
"You can customize the map's center, zoom level, and height. The `center` takes a tuple of latitude and longitude, `zoom` is an integer, and `height` specifies the map height in pixels. The example below centers the map on the U.S. with a zoom level of 4 and a height of 600 pixels:"
]
},
{
Expand Down
2 changes: 0 additions & 2 deletions book/geospatial/leafmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ m

You can customize the map's center, zoom level, and height. The `center` takes a tuple of latitude and longitude, `zoom` is an integer, and `height` specifies the map height in pixels. The example below centers the map on the U.S. with a zoom level of 4 and a height of 600 pixels:

```python

```{code-cell} ipython3
m = leafmap.Map(center=(40, -100), zoom=4, height="600px")
m
Expand Down

0 comments on commit 4d13e37

Please sign in to comment.