AnsweredAssumed Answered

Dojo Button

Question asked by brandon.price on Oct 5, 2017
Latest reply on Oct 5, 2017 by brandon.price

Hi,

 

I am trying to programmatically create a dojo button in an arcgis webmap. I have downloaded the storymap series template to a web server. I am unclear on placeAt part. This is what I have:

 

var myButton4= new Button ({
label: "Utility Selector"
onClick: function() {
window.location.replace('http://onramp');
}
}).placeAt(esri.map); //unclear on the location to place it at

 

Thanks in advance,

Brandon

 

Web AppBuilder Custom Widgets

Outcomes