Closed martinfleis closed 2 years ago
Leafmap has a linked_maps function that can be helpful for creating the basemap gallery.
I just added a gallery of basemaps in leafmap.
Try it out: https://gishub.org/basemap-gallery Notebook: https://github.com/giswqs/leafmap/blob/master/examples/notebooks/27_basemap_gallery.ipynb
https://user-images.githubusercontent.com/5016453/128373240-4e0625d9-261e-4f4a-b5bf-a5e044d3c8dd.mp4
That is so cool 🤩! I have to admit that it is a bit too heavy for my laptop to play with it :).
Yeah, it can take a while to load. There are 200+ basemaps available, and that example only uses 100. You can easily specify the number of basemaps to show in the gallery.
I am currently working on producing a webpage showing a gallery of the basemaps from the .json file (a PR will be soon submitted). Here is a screenshot of the current state of my work.
@HaudinFlorence Very nice! If we could plug this in out sphinx-generated docs, that would be amazing!
It seems that Hydda and HikeBike's basemaps are not available anymore. I also did not manage to display some of HERE's basemaps : both an app_id and an app_code are required but some of the basemaps can be displayed without any code. For the other ones, I can't displayed them. As a question, are basemaps from HERE and HEREv3 really different? At first sight they are looking rather similar.
Just skip them. Hydda is known to be broken, but it was supposed to be temporary breakage. HERE are the same, just the API is different if I remember correctly.
Closed by #114
It would be nice to have a gallery similar to https://ipyleaflet.readthedocs.io/en/latest/api_reference/basemaps.html. It can be used to check tiles (xref #59) and would provide a nice overview to users. Ideally automatically generated.