The VectorTileLayer class has a BasemapStyles type that's trying to enumerate all of the basemap styles available from the service. If this type is going to be maintained, it needs to be updated as all "OSM" styles have been deprecated. They have been replaced by a new family of basemaps called open, e.g. open/streets, open/hybrid, etc.
Full info here: https://developers.arcgis.com/documentation/mapping-and-location-services/mapping/basemaps/open-styles/
P.S. All styles currently offered by the service can be obtained by making a /self request.
The
VectorTileLayerclass has a BasemapStyles type that's trying to enumerate all of the basemap styles available from the service. If this type is going to be maintained, it needs to be updated as all "OSM" styles have been deprecated. They have been replaced by a new family of basemaps calledopen, e.g.open/streets,open/hybrid, etc.Full info here: https://developers.arcgis.com/documentation/mapping-and-location-services/mapping/basemaps/open-styles/
P.S. All styles currently offered by the service can be obtained by making a
/selfrequest.