Skip to content

Commit

Permalink
Add add_arrow function (#991)
Browse files Browse the repository at this point in the history
* Add add_arrow function

* Fix docs build error

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Improve edit_gps_trace

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
giswqs and pre-commit-ci[bot] authored Nov 21, 2024
1 parent c5bc4fe commit 7590c71
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 74 deletions.
8 changes: 6 additions & 2 deletions docs/maplibre/add_icon.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"m.add_layer_control()\n",
"image = \"https://i.imgur.com/ZMMvXuT.png\"\n",
"m.add_symbol(\n",
" image, source=\"Streams\", icon_size=0.1, symbol_placement=\"line\", minzoom=10\n",
" source=\"Streams\", image=image, icon_size=0.1, symbol_placement=\"line\", minzoom=10\n",
")\n",
"m"
]
Expand All @@ -79,7 +79,11 @@
"m.add_layer_control()\n",
"image = \"https://i.imgur.com/ZMMvXuT.png\"\n",
"m.add_symbol(\n",
" image, source=\"Hiking Trail\", icon_size=0.1, symbol_placement=\"line\", minzoom=10\n",
" source=\"Hiking Trail\",\n",
" image=image,\n",
" icon_size=0.1,\n",
" symbol_placement=\"line\",\n",
" minzoom=10,\n",
")\n",
"m"
]
Expand Down
Loading

0 comments on commit 7590c71

Please sign in to comment.