<jupyter_start><jupyter_text>[![image](https://colab.research.google.com/assets/colab-badge.svg)](https://githubtocolab.com/giswqs/leafmap/blob/master/examples/notebooks/31_search_basemaps.ipynb)[![image](https://mybinder.org/badge_logo.svg)](https://gishub.org/leafmap-binder)Uncomment the following line to install [leafmap](https://leafmap.org) if needed.<jupyter_code># !pip install leafmap
import leafmap<jupyter_output><empty_output><jupyter_text>Search xyz tiles from [xyzservices](https://github.com/geopandas/xyzservices).<jupyter_code>leafmap.search_xyz_services(keyword="esri")<jupyter_output><empty_output><jupyter_text>Add an xyz tile to the map.<jupyter_code>m = leafmap.Map()
m.add_xyz_service("xyz.Esri.NatGeoWorldMap")
m<jupyter_output><empty_output><jupyter_text>Search xyz tiles from [Quick Map Services](https://github.com/nextgis/quickmapservices).<jupyter_code>leafmap.search_qms(keyword="google")<jupyter_output><empty_output><jupyter_text>Add xyz tile to the map.<jupyter_code>m = leafmap.Map()
m.add_xyz_service("qms.Google Satellite Hybrid")
m<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14740673339399454, 'fraction_numerical': 0.0018198362147406734, 'mean_word_length': 9.784313725490197, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '227766', 'license': 'MIT', 'n_tokens_mistral': 431, 'n_tokens_neox': 410, 'n_words': 43, 'path': 'examples/notebooks/31_search_basemaps.ipynb', 'repo_name': 'aplitest/leafmap', 'size': '1099'}