Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to add titiler_endpoint argument when calling cog_tile_vmin_vmax in add_cog_layer #883

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion leafmap/leafmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,9 @@ def add_cog_layer(
if not hasattr(self, "cog_layer_dict"):
self.cog_layer_dict = {}

vmin, vmax = cog_tile_vmin_vmax(url, bands=bands)
vmin, vmax = cog_tile_vmin_vmax(
url, bands=bands, titiler_endpoint=titiler_endpoint
)

if "colormap_name" in kwargs:
colormap = kwargs["colormap_name"]
Expand Down
Loading