Veena,
This question has been asked many times before.
Here are just a few threads:
Yes but https://community.esri.com/thread/87169 example i have tried but its not works for me.now for google api we have to use key without that we cant use.I am not getting how to use
If calling the tiles were legal it would be easy with WebTileLayer but TOS doesn't permit it.
Test with WebTileLayer: https://codepen.io/nicogis/pen/vJjVye