From 803c4ea0da75485638c94bd12f1339ba21b1993f Mon Sep 17 00:00:00 2001 From: Stefan Kuethe Date: Wed, 24 Jan 2024 11:51:54 +0100 Subject: [PATCH] Update docs --- maplibre/map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maplibre/map.py b/maplibre/map.py index 96aa35d0..2646ad5a 100644 --- a/maplibre/map.py +++ b/maplibre/map.py @@ -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) @@ -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)