Select to view content in your preferred language

Basemap toggle in basic viewer template

344
0
08-19-2019 06:56 AM
MatejCunder1
Occasional Contributor

Hello,

 I would like to add Basemap toggle to an APP I created in AGOL and custumized it with basic-viewer-template

In the original basic viewer app you can only enable basemap switcher which contains ESRI templates, but I would

like to add my own basemap from AGOL.

Can somebody tell me which code and most importantly where do I have to put it, to add the Basemap toggle with my basemap from AGOL. I found this code, but don't have a clue where to put it, because I am not Javascript developer:

Basemap Toggle | ArcGIS API for JavaScript 3.29 

0 Kudos
0 Replies