Previous topic

gxp.PolygonSymbolizer

Next topic

gxp.QueryPanel

gxp.PoweredBy

Extends
xtype
gxp_poweredby
class gxp.PoweredBy(config)

Component that adds a powered-by icon to its parent container. By default, this adds a “Powered by OpenGeo” icon to the bottom left and shifts attribution above itself.

To add this powered-by icon to the map of your gxp.Viewer, just add it to the map’s items. Your map configuration could then look like this:

map: {
    projection: "EPSG:4326",
    center: [0,0],
    zoom: 1,
    items: [{
        xtype: "gx_poweredby"
    }]
}

To modify the icon or its position: All the magic is done through css. This component’s div has the “gxp-poweredby” class, and adds the “gxp-poweredby-ct” class to its container.