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

Add a search box to the map #10

Closed
giswqs opened this issue Apr 11, 2020 · 7 comments
Closed

Add a search box to the map #10

giswqs opened this issue Apr 11, 2020 · 7 comments
Assignees
Labels
Feature Request New feature or request
Projects

Comments

@giswqs
Copy link
Member

giswqs commented Apr 11, 2020

Useful resources for a implementing a search control:

@giswqs giswqs added the Feature Request New feature or request label Apr 11, 2020
@giswqs giswqs self-assigned this Apr 11, 2020
@giswqs giswqs added this to To do in geemap via automation Apr 11, 2020
@giswqs giswqs moved this from To do to In progress in geemap Apr 20, 2020
giswqs added a commit that referenced this issue Apr 25, 2020
@giswqs
Copy link
Member Author

giswqs commented Apr 25, 2020

Added search control and geocoding.

@stefanocudini
Copy link

hi!
where can I find a working demo?

@giswqs
Copy link
Member Author

giswqs commented Apr 25, 2020

@stefanocudini I have not pushed the update to pypi and conda-forge yet. You will need to install the latest update from github using pip install git+https://github.com/giswqs/geemap. Then you can use the following lines within Jupyter notebook to create a map. Once the map is created, you should see the search button on the upper left corner.

import geemap
m = geemap.Map()
m

@stefanocudini
Copy link

stefanocudini commented Apr 25, 2020

you should publish a public working notebook on google colab or mybinder ;-)
for users who are not programmers

@giswqs
Copy link
Member Author

giswqs commented Apr 25, 2020

Unfortunately, Google Colab currently doesn’t support ipyleaflet. See here. I have another repo of 360+ jupyter notebooks that can be used on Colab with limited functionality using the folium package. Binder has security risks for Earth Engine.

When a user authenticates to the Earth Engine servers (i.e. uses ee.Authenticate), a 'credentials' file is created in a subfolder of the user's home directory. For example: ~/.config/earthengine/credentials. Anyone who gets access to this file will have access to your Earth Engine data, due to the very significant permissions you have granted (i.e. 1. View and manage your Google Earth Engine data; 2. Manage your data and permissions in Google Cloud Storage). This is fine on a computer that you control like your local machine or a cloud VM that you have created (and secured), but creating this file on a remote server that you don't control is a security risk. You are trusting that the organization or individual who manages the server will prevent others from accessing your credentials file. Binder instances are examples of these remote servers where your credentials file may be created.

@giswqs
Copy link
Member Author

giswqs commented Apr 27, 2020

Implemented.

@giswqs giswqs closed this as completed Apr 27, 2020
geemap automation moved this from In progress to Done Apr 27, 2020
@stefanocudini
Copy link

great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
geemap
  
Done
Development

No branches or pull requests

2 participants