I,m looking for a sample code that can show satellite google map and bing map as a basemap. I dont need esri base map, just looking for bing or google satellite or google map.
Anjelina,
You can search and find many thread about using Google as a basemap (but even the ones you will find are not in compliance with Google Maps API Terms of Service). As far as using Bing you just use the VETiledLayer in your code:
VETiledLayer | API Reference | ArcGIS API for JavaScript 3.22
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.