make layer type change go through a source refresh,
make layer type change go through a source refresh,

- staying safe as some type change lead to exceptions

plotly/plotly.js,iongroup/plotly.js,etpinard/plotly.js,etpinard/plotly.js,asolagmbh/plotly.js,etpinard/plotly.js,asolagmbh/plotly.js,aburato/plotly.js,plotly/plotly.js,plotly/plotly.js,asolagmbh/plotly.js,plotly/plotly.js,aburato/plotly.js,iongroup/plotly.js,iongroup/plotly.js