how can i create a base map toggle widget which should be a on screen widget (example like scalebar) ?
what files need to be edited to make a widget as on screen widget?
This isn't on screen (or maybe is, depending on your definition of "on screen"), but are you using Enhanced Basemap Gallery Widget 2.8 - 05/1/2018 as a starting point?
Using the BasemapToggle is an issue in WAB for some reason. See this thread where I have already looked into it but never heard anything back from the dev team:
Thanks Robert. Can i know how to make a widget as a onscreen widget (example like scalebar) what files of the widget need to be edited??
I would start by copying an existing widget like the scalebar widget and deleting all the items you don't plan to implement like the settings folder (if you don't plan to make your widget configurable by the user), remove other languages from the nls files, etc.
I searched for the base map toggle widget in WAB, thinking there gotta be someone who already figured it out. It seems Robert looked into it already and we never heard back from the developer team about the issue?
BaseMap Gallery widget is much more that what I need, and on top of it, it is clearing results from the previous widget (near me widget) whenever basemaps are switched.
What would you recommend in pursuing basemap toggle widget in WAB?
I really appreciate all your help and advice.
Retrieving data ...