Esri/esri-leaflet-vector

Update the "Gallery" example to v2 basemaps

gavinr-maps opened this issue · 0 comments

Describe the problem

Right now, our "Gallery" example uses the v1 basemaps.

Describe the proposed solution

Now that the v2 basemaps are released and Esri Leaflet Vector supports them (thanks @gowin20) , let's update this example:

https://github.com/Esri/esri-leaflet-vector/blob/af104466af5a8d46ff6d0636642805d7e4c51aef/examples/gallery-dev.html

While we're at it, instead of hardcoding the list of basemaps, lets have the demo first make an HTTP request to https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/self to populate the list!

Alternatives considered

No response

Additional Information

No response