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

Improve support for adding GEE layers #795

Merged
merged 3 commits into from
Jun 29, 2024
Merged

Improve support for adding GEE layers #795

merged 3 commits into from
Jun 29, 2024

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented Jun 29, 2024

import leafmap.maplibregl as leafmap
m = leafmap.Map(center=[-100, 40], zoom=3, style="3d-terrain-background")
m.add_ee_layer(asset_id="ESA/WorldCover/v200")
m.add_legend(builtin_legend="ESA_WorldCover")
m.add_layer_control()
m

image

Copy link

github-actions bot commented Jun 29, 2024

@github-actions github-actions bot temporarily deployed to pull request June 29, 2024 04:15 Inactive
@giswqs
Copy link
Member Author

giswqs commented Jun 29, 2024

import leafmap.maplibregl as leafmap
m = leafmap.Map(
    center=[-120.4482, 38.0399], zoom=13, pitch=60, bearing=30, style="3d-terrain"
)
m.add_ee_layer(asset_id="ESA/WorldCover/v200", opacity=0.5)
m.add_legend(builtin_legend="ESA_WorldCover", title="ESA Landcover")
m.add_layer_control()
m

@github-actions github-actions bot temporarily deployed to pull request June 29, 2024 04:57 Inactive
@giswqs giswqs merged commit 7a6820c into master Jun 29, 2024
14 checks passed
@giswqs giswqs deleted the ee branch June 29, 2024 05:14
@github-actions github-actions bot temporarily deployed to pull request June 29, 2024 05:22 Inactive
sthagen pushed a commit to sthagen/giswqs-leafmap that referenced this pull request Jul 10, 2024
* Improve support for adding GEE layers

* Add GEE notebook example

* Improve notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant