I need to add the scale on the map, it is assumed that .js is in the Widgets folder, that means that I should add as Plugin, maps and layers I have this code put in app.js:
map: {
id: "mymap", // id needed to reference map in portalConfig above
title: "Map"
items: [{
xtype: "gxp_scaleoverlay"
}]
I need you to visualize on the map, but does not work, I guess tools must put this code:
{
Ptype "gxp_ScaleOverlay"
actionTarget "map.tbar"
}