Skip to content

Commit

Permalink
Extract maplibre version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Jul 18, 2024
1 parent 3959490 commit 49a243c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions maplibre/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

from ._constants import __version__, _shiny_output_class

# TODO: extract maplibregl version
MAPLIBREGL_VERSION = "3.6.2"

maplibregl_dep = HTMLDependency(
"maplibregl",
version="3.6.2",
version=MAPLIBREGL_VERSION,
source={"package": "maplibre", "subdir": "srcjs"},
script={"src": "maplibre-gl.js", "type": "module"},
stylesheet={"href": "maplibre-gl.css"},
Expand Down

0 comments on commit 49a243c

Please sign in to comment.