Skip to content

Commit

Permalink
removed geemap
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaglodha committed Jul 20, 2023
1 parent 4ba8314 commit de756ef
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions leafmap/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from .pc import *
from typing import Optional, Union, Dict, List
from leafmap import Map as leafMap
from geemap import Map as geeMap
from ipyleaflet import Map as ipyleafletMap


Expand Down Expand Up @@ -211,7 +210,7 @@ def button_clicked(change):
return toolbar_widget


def tool_header_template(m: Optional[geeMap] = None, opened: Optional[bool] = True):
def tool_header_template(m: Optional[leafMap] = None, opened: Optional[bool] = True):
"""Create a toolbar widget.
Args:
Expand Down Expand Up @@ -311,7 +310,7 @@ def button_clicked(change):
return toolbar_widget


def main_toolbar(m: leafMap):
def main_toolbar(m: Optional[leafMap]):
"""Creates the main toolbar and adds it to the map.
Args:
Expand Down Expand Up @@ -1539,7 +1538,7 @@ def ok_cancel_clicked(change):
m.tool_output_ctrl = tool_output_ctrl


def change_basemap(m: leafMap, position: Optional[str] = "topright"):
def change_basemap(m: Optional[leafMap], position: Optional[str] = "topright"):
"""Widget for changing basemaps.
Args:
Expand Down Expand Up @@ -1598,7 +1597,7 @@ def close_click(change):
m.basemap_ctrl = basemap_control


def save_map(m: leafMap):
def save_map(m: Optional[leafMap]):
"""Saves the map as HTML, JPG, or PNG.
Args:
Expand Down Expand Up @@ -6060,7 +6059,7 @@ def button_clicked(change):


def layer_manager_gui(
m: geeMap,
m: Optional[leafMap],
position: Optional[str] = "topright",
opened: Optional[bool] = True,
return_widget: Optional[bool] = False,
Expand Down

0 comments on commit de756ef

Please sign in to comment.