How to select pan as default tool

How can I change the default tool to the pan? On default it’s the zoom tool.
Basically, I want the pan function be enabled on the mode bar on initial state.

Thank you!

2 Likes

var layout = {
dragmode: ‘pan’ or
dragmode:’’
}
dragmode ‘lasso’ or’select’ or’zoom’

Try this.
thx
Lavanya.

2 Likes