Hello,
I am building an application that persists certain user preferences in Local Storage between uses so they don't have to reset everything each time they login. I'm using a Basemap Gallery widget, and one of the things I'd like to persist is the user's selection.
I've registered a click event handler on the Gallery's container, and in the handler I'm getting the basemap title as that seems like the simplest way to identify which map has been selected (it's extremely unfortunate that the basemap identifier is not available, but so it goes).
I have a dictionary mapping the titles for the available basemaps to the identifiers, which I found here. I was able to find identifiers for all basemap titles except these:
- Human Geography Map
Human Geography Dark Map
Outline Map
- USGS National Map
- USA Topo Maps
- OpenStreetMap (Blueprint)
Additionally, I found the identifier "hybrid," which seems likely to me that it's one of these two:
- Firefly Imagery Hybrid
- NAIP Imagery Hybrid
so I also need an identifier for at least one of those.
Any help with filling in the blanks on these missing identifiers would be greatly appreciated.