Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Jan 24, 2024
1 parent b78a266 commit 803c4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maplibre/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def add_popup(self, layer_id: str, prop: str = None) -> None:
Args:
layer_id (str): The layer to which the popup is added.
prop (str): The property of the source to be displayed. If `None`, all properties will be displayed.
prop (str): The property of the source to be displayed. If `None`, all properties are displayed.
"""
self.add_call("addPopup", layer_id, prop)

Expand All @@ -172,7 +172,7 @@ def add_tooltip(self, layer_id: str, prop: str = None) -> None:
Args:
layer_id (str): The layer to which the tooltip is added.
prop (str): The property of the source to be displayed. If `None`, all properties will be displayed.
prop (str): The property of the source to be displayed. If `None`, all properties are displayed.
"""
self.add_call("addTooltip", layer_id, prop)

Expand Down

0 comments on commit 803c4ea

Please sign in to comment.