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

the properties of draw_features is {} #1352

Closed
wurenzhe163 opened this issue Dec 1, 2022 · 3 comments · Fixed by #1357
Closed

the properties of draw_features is {} #1352

wurenzhe163 opened this issue Dec 1, 2022 · 3 comments · Fixed by #1357
Labels
bug Something isn't working

Comments

@wurenzhe163
Copy link

Environment Information

python ==3.8.8 Windows

Map = geemap.Map(center=[34, 99], zoom=4, add_google_map=True)
Map
Map.draw_features[0].getInfo()

Description

upgrade geemap from 0.17.3-->0.18.1. I have drew a vector on the diagram, but the display feature is empty.
{'type': 'Feature', 'geometry': None, 'properties': {}}

@wurenzhe163 wurenzhe163 added the bug Something isn't working label Dec 1, 2022
@giswqs
Copy link
Member

giswqs commented Dec 1, 2022

Thank you for reporting. This is a strange issue, as I have not made any changes to the drawing functions the past few months.

If you run geemap on Colab, everything works fine. However, the issue does occur on local Jupyter sometimes without any reason. I am not sure why.

@hfchen20
Copy link

hfchen20 commented Dec 1, 2022

@giswqs After upgrading, Map.user_roi returns None in Colab. Used to work fine.

giswqs added a commit that referenced this issue Dec 2, 2022
@giswqs giswqs linked a pull request Dec 2, 2022 that will close this issue
giswqs added a commit that referenced this issue Dec 2, 2022
@giswqs
Copy link
Member

giswqs commented Dec 2, 2022

It has been fixed now. Please install v0.18.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants