I created a following basemap in arcgis online using mapbox : https://arcg.is/1zf5qz
I want to use this map as a basemap in my application.
I am trying to follow this example here ArcGIS API for JavaScript Sandbox
The mapBaseLayer urlTemplate contains a http://~xyz.png . Not sure how to use the arcgis online custom maps in arcgis api 4.5
Do I need a png from arcgis online to use my map . If so can you provide an example ?