Overview Map - geosolutions-it/MapStore GitHub Wiki
This plugin wraps the OpenLayers OverviewMap control in order to provide a mini preview of the current map extent.
Configuration
The most complete configuration of this tool is:
{
"ptype": "gxp_overviewmap",
"maximized": true,
"layers": [{
"wmsserver":"http://localhost:8080/geoserver/wms",
"title":"States",
"parameters":{
"layers":"topp:states"
},
"options":{
"isBaseLayer": true
}
}, {
"wmsserver":"http://localhost:8080/geoserver/wms",
"title":"Roads",
"parameters":{
"transparent": true,
"layers":"topp:roads"
},
"options":{
"isBaseLayer": false
}
}]
}
The basic configuration is:
{
"ptype": "gxp_overviewmap"
}
ptype
: The plugin name :gxp_overviewmap
.layers
: The layers to use inside the preview. Make attention to the layers configuration ('isBaseLayer' and 'transparent') in order to correctly show each of them inside the preview.