// /* // * 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 . // */ // All Layers Heron.options.map.layers = [ /* * ================================== * BaseLayers * ================================== */ new OpenLayers.Layer.OSM("OpenStreetMap"), new OpenLayers.Layer.Google( "Google Satellite", {type: google.maps.MapTypeId.SATELLITE, visibility: false}, {singleTile: false, buffer: 0, isBaseLayer: true} ), new OpenLayers.Layer.Google( "Google Streets", // the default {type: google.maps.MapTypeId.ROADMAP, visibility: false}, {singleTile: false, buffer: 0, isBaseLayer: true} ), new OpenLayers.Layer.Google( "Google Terrain", {type: google.maps.MapTypeId.TERRAIN, visibility: false}, {singleTile: false, buffer: 0, isBaseLayer: true} ), //new OpenLayers.Layer("Blanco", {isBaseLayer: true, numZoomLevels: 21}), new OpenLayers.Layer.Image( "Blanco", Ext.BLANK_IMAGE_URL, OpenLayers.Bounds.fromString(Heron.options.map.settings.maxExtent), new OpenLayers.Size(10, 10), {resolutions: Heron.options.map.settings.resolutions, isBaseLayer: !0, visibility: !1, displayInLayerSwitcher: !0, transitionEffect: "resize" } ), /* * ================================== * Overlays * ================================== */ /*RUTAS*/ new OpenLayers.Layer.WMS( "ruta_castano_directo", "http://10.172.202.174:8080/geoserver/movilidad/wms", {layers: "movilidad:ruta_castano_directo", format: "image/png", transparent: true}, {isBaseLayer: false, singleTile: true, visibility: false, alpha: true, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize', metadata: { wfs: { protocol: 'fromWMSLayer', featurePrefix: 'ruta_castano_directo', featureNS: 'http://www.alcaldiagirardot.gob.ve/movilidad', downloadFormats: Heron.options.wfs.downloadFormats } }, maxExtent: new OpenLayers.Bounds(-7530357,1146198,-7513484,1155104) } ), /*PARADAS*/ new OpenLayers.Layer.WMS( "paradas_av_las_delicias", "http://10.172.202.174:8080/geoserver/movilidad/wms", {layers: "movilidad:paradas_av_las_delicias", format: "image/png", transparent: true}, {isBaseLayer: false, singleTile: true, visibility: false, alpha: true, featureInfoFormat: "application/vnd.ogc.gml", transitionEffect: 'resize', metadata: { wfs: { protocol: 'fromWMSLayer', featurePrefix: 'Paradas_Av_Las_Delicias', featureNS: 'http://www.alcaldiagirardot.gob.ve/movilidad', downloadFormats: Heron.options.wfs.downloadFormats } }, maxExtent: new OpenLayers.Bounds(-7529393,1147374,-7511124,1155839) } ), Heron.options.worklayers.editor, Heron.options.worklayers.scratch ]; /* * The Layer tree (shown in left menu) * **/ Ext.namespace("Heron.options.layertree"); Heron.options.layertree.tree = [ { text: 'MAPA BASE', expanded: false, iconCls: 'map', children: [ {nodeType: "gx_layer", layer: "OpenStreetMap", iconCls: 'bullet', text:"OSM Calles"}, {nodeType: "gx_layer", layer: "Google Streets", iconCls: 'bullet', text:"Google Calles"}, {nodeType: "gx_layer", layer: "Google Satellite", iconCls: 'bullet', text:"Google Satélite"}, {nodeType: "gx_layer", layer: "Google Terrain", iconCls: 'bullet', text:"Google Relieve"}, {nodeType: "gx_layer", layer: "Blanco", iconCls: 'bullet'} ] }, { text: 'LINEAS', iconCls: 'road', expanded: true, children: [ { text: 'Castaño', expanded: false, iconCls: 'bus', children: [ {nodeType: "gx_layer", layer: "ruta_castano_directo", text: "Castaño-Directo", legend:true, iconCls: 'bullet'} ] } ] }, { text: 'PARADAS', expanded: true, iconCls: 'busstop', children: [ { text: 'Norte', expanded: false, iconCls: 'compass', children: [ {nodeType: "gx_layer", layer: "paradas_av_las_delicias", text: "Paradas Av. Las Delicias",legend:true, iconCls: 'bullet'} ] } ] } ];