Skip to content
Snippets Groups Projects
Commit 4d0b19fc authored by Simone Dalmasso's avatar Simone Dalmasso Committed by GitHub
Browse files

Merge pull request #2929 from gonrial/2.0.x

Multiple changes in Geoexplorer
parents 2b709cb8 37a44288
Branches 2.0.x
No related tags found
No related merge requests found
......@@ -17,10 +17,13 @@ OpenLayers.Request.DEFAULT_CONFIG.headers = {
* Add GetFeedFeatureInfo tool to GeoExplorer.Viewer
*/
GeoExplorer.Viewer.prototype.loadConfig = function(config) {
config.viewerTools.push( {
ptype: "gxp_getfeedfeatureinfo",
checked: true
});
// remove the 3D Viewer which is broken
config.viewerTools.splice(10,1);
config.viewerTools.push( {
ptype: "gxp_getfeedfeatureinfo",
checked: true
});
// Do not include the layer styler on the map-detail view.
{% if not map %}
......
......@@ -558,6 +558,7 @@ class GXPMapBase(object):
'title': self.title,
'abstract': self.abstract
},
'aboutUrl': '../about',
'defaultSourceType': "gxp_wmscsource",
'sources': sources,
'map': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment