Skip to content

Commit

Permalink
fix: only use the core version of geemap
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Sep 27, 2024
1 parent 2162612 commit bfd8604
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@
}
],
"source": [
"#m = Map()\n",
"#m.to_sidecar()"
"m = Map()\n",
"m.to_sidecar()"
]
},
{
Expand Down Expand Up @@ -234,7 +234,7 @@
" ]\n",
"}\n",
"\n",
"#m.addLayer(dataset, visualization, 'Air temperature [K] at 2m height')"
"m.addLayer(dataset, visualization, 'Air temperature [K] at 2m height')"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions ipygee/map.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""All the map related widgets and functions are here."""
from __future__ import annotations

import geemap
from geemap import core

from .sidecar import HasSideCar


class Map(geemap.Map, HasSideCar):
class Map(core.Map, HasSideCar):
"""A subclass of geemap.Map with a sidecar method."""

sidecar_title = "Map"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"ipyvuetify",
"natsort",
"sidecar",
"geemap",
"geemap[core]",
]

[[project.authors]]
Expand Down

0 comments on commit bfd8604

Please sign in to comment.