/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ Ext.namespace("Heron"); Ext.namespace("Heron.options"); Ext.namespace("Heron.options.layertree"); Heron.layout = { xtype: 'panel', /* Optional ExtJS Panel properties here, like "border", see ExtJS API docs. */ layout: 'border', border: true, /** Any classes in "items" and nested items are automatically instantiated (via "xtype") and added by ExtJS. */ items: [ { xtype: 'panel', layout: 'accordion', region: "west", width: 240, collapsible: true, border: false, items: [ // { // xtype: 'hr_activethemespanel', // height: 300, // flex: 3, // hropts: { // // Defines the custom components added with the standard layer node. // showOpacity: true, // true - layer opacity icon / function // showTools: false, // true - layer tools icon / function (not jet completed) // showRemove: false // true - layer remove icon / function // } // }, { xtype: 'hr_layertreepanel', contextMenu: [ // { // xtype: 'hr_layernodemenulayerinfo' // }, { xtype: 'hr_layernodemenuzoomextent' }, { xtype: 'hr_layernodemenuopacityslider' } // ,{ // xtype: 'hr_layernodemenustyle' // } ], // Optional, use internal default if not set hropts: Heron.options.layertree }, /*{ xtype: 'hr_layerlegendpanel', id: 'hr-layerlegend-panel', defaults: { useScaleParameter: true, baseParams: { FORMAT: 'image/png' } }, hropts: { // Preload Legends on initial startup // Will fire WMS GetLegendGraphic's for WMS Legends // Otherwise Legends will be loaded only when Layer // becomes visible. Default: false prefetchLegends: false } },*/ { xtype: 'hr_bookmarkspanel', id: 'hr-bookmarks', /** The map contexts to show links for in the BookmarksPanel. */ hropts: Heron.options.bookmarks } /*,{ xtype: 'hr_htmlpanel', title: 'Acerca de', html: 'Esta aplicación ha sido deiseñada para..vdrgdrgdgdgdgdfgd' }*/ ] }, { xtype: 'panel', id: 'hr-map-and-info-container', layout: 'border', region: 'center', width: '100%', collapsible: false, split: false, border: false, items: [ { xtype: 'hr_mappanel', id: 'hr-map', title: " ", region: 'center', collapsible: false, border: false, hropts: Heron.options.map } ] }, { xtype: "hr_htmlpanel", id: "hr-htmlpanel", region: "north", html: '
SIG de Transporte Público de Maracay
Alcaldía Logo
', preventBodyReset: !0, border: !1 } ] };