Skip to content

Commit

Permalink
Change info icon to point scan (cross-hair)
Browse files Browse the repository at this point in the history
  • Loading branch information
sufyanAbbasi committed Nov 27, 2024
1 parent 5489dd4 commit 800766e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion geemap/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ def basemap_tool_callback(map: Map, selected: bool, item: toolbar.ToolbarItem):
callback=basemap_tool_callback,
),
toolbar.ToolbarItem(
icon="info",
icon="point_scan",
tooltip="Inspector",
callback=inspector_tool_callback,
),
Expand Down
2 changes: 1 addition & 1 deletion geemap/foliumap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ def add_points_from_xy(
color_column: Optional[str] = None,
marker_colors: Optional[List] = None,
icon_colors: Optional[List] = ["white"],
icon_names: Optional[List] = ["info"],
icon_names: Optional[List] = ["point_scan"],
angle: Optional[int] = 0,
prefix: Optional[str] = "fa",
add_legend: Optional[bool] = True,
Expand Down
4 changes: 2 additions & 2 deletions geemap/geemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ def random_color(feature):
toolbar_button = widgets.ToggleButton(
value=True,
tooltip="Toolbar",
icon="info",
icon="point_scan",
layout=widgets.Layout(
width="28px", height="28px", padding="0px 0px 0px 4px"
),
Expand Down Expand Up @@ -3769,7 +3769,7 @@ def add_points_from_xy(
color_column=None,
marker_colors=None,
icon_colors=["white"],
icon_names=["info"],
icon_names=["point_scan"],
spin=False,
add_legend=True,
**kwargs,
Expand Down
4 changes: 2 additions & 2 deletions geemap/map_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def __init__(
)

self.toolbar_button = ipywidgets.ToggleButton(
value=opened, tooltip="Inspector", icon="info", layout=left_padded_square
value=opened, tooltip="Inspector", icon="point_scan", layout=left_padded_square
)
self.toolbar_button.observe(self._on_toolbar_btn_click, "value")

Expand Down Expand Up @@ -763,7 +763,7 @@ def _root_node(
open_icon="plus-square",
open_icon_style="success",
close_icon="minus-square",
close_icon_style="info",
close_icon_style="point_scan",
**kwargs,
)

Expand Down
2 changes: 1 addition & 1 deletion geemap/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -4422,7 +4422,7 @@ def _cog_stac_inspector_callback(map, selected, item):

main_tools = [
ToolbarItem(
icon="info",
icon="point_scan",
tooltip="Inspector",
callback=_inspector_tool_callback,
),
Expand Down

0 comments on commit 800766e

Please sign in to comment.