Any chance we can get the most excellent Navigation (Dark Mode) vector basemap added to AGSBasemap as .navigationVectorDarkMode or similar? I know .streetsNightVectorBasemap exists but I think I like Navigation (Dark Mode) (https://www.arcgis.com/home/webmap/viewer.html?webmap=459cc334740944d38580455a0a777a24) a little bit more 🙂
Hadn't really planned to spend my fall updating all our apps to support Dark Mode... but here we are!
Solved! Go to Solution.
I'll put in a request, but in the meantime you could just add an extension to AGSBasemap if you wanted…
extension AGSBasemap {
public class func darkNavigationVectorBasemap() -> AGSBasemap {
let darkNavigationURL = URL(string: "https://www.arcgis.com/home/item.html?id=b69e76a446ac479998ff31de839ba323")!
return AGSBasemap(baseLayer: AGSArcGISVectorTiledLayer(url: darkNavigationURL))
}
}
I'll put in a request, but in the meantime you could just add an extension to AGSBasemap if you wanted…
extension AGSBasemap {
public class func darkNavigationVectorBasemap() -> AGSBasemap {
let darkNavigationURL = URL(string: "https://www.arcgis.com/home/item.html?id=b69e76a446ac479998ff31de839ba323")!
return AGSBasemap(baseLayer: AGSArcGISVectorTiledLayer(url: darkNavigationURL))
}
}