/*
* 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 .
*/
/**
* Defines settings for the Heron App layout wihtin Layout.js.
*
* The layout specifies a hierarchy of ExtJS (Panel) and GeoExt and Heron MC components.
* For convenience specific settings within this layout are defined here
* for structuring and reuse purposes.
*
**/
/*
* Common settings for MapPanel
* These will be assigned as "hropts" within the MapPanel config
*/
Ext.namespace("Heron.options.map");
//var EPSG_down_up_editor='EPSG:32616';
//Es el EPSG en que deseo se reproyecten mis datos
var miEPSG='EPSG:900913';
//Unidades de medida del EPSG
var unidades_medida='m';
//MAPEX o extensión de la vista del mapa (estan en 900913 por la capa de google, de lo contrario en 4326)
var mapex='-10531047.5570382475852966,1938338.2967969400342554,-9195652.8149020671844482,2545558.0468808207660913';
// Coordenadas en donde se centrará la vista del mapa
var coord_center= '-9867626.381,2220567.195';
//Resolución máxmima para los datos del mapa
var max_resolution= 'auto';
//Presición de las coordenadas x,y
var xyprecision= 5;
//Zoom predeterminado al cargar el mapa
var map_zoom= 6.5;
//Tema de la aplicación
var tema= null;
var EPSG_XY='EPSG:4326'
Heron.options.map.settings = {
projection: miEPSG,
displayProjection: new OpenLayers.Projection(EPSG_XY),
units: unidades_medida,
maxExtent: mapex,
center: coord_center,
maxResolution: max_resolution,
xy_precision: xyprecision,
zoom: map_zoom,
theme: tema
};
/*
* Layers to be added to the map.
* Syntax is defined in OpenLayers Layer API.
* ("isBaseLayer: true" means the layer will be added as base/background layer).
*/
Heron.options.map.layers = [
/*
* ==================================
* BaseLayers
* ==================================
*/
new OpenLayers.Layer.Google(
"Google Hybrid",
{type: google.maps.MapTypeId.HYBRID, visibility: true},
{singleTile: false, buffer: 0, isBaseLayer: true}
),
new OpenLayers.Layer.Google(
"Google Satellite",
{type: google.maps.MapTypeId.SATELLITE, visibility: true},
{singleTile: false, buffer: 0, isBaseLayer: true}
),
new OpenLayers.Layer.XYZ(
'MAPA BASE',
['https://api.mapbox.com/styles/v1/mapbox/streets-v10/tiles/256/${z}/${x}/${y}?access_token=pk.eyJ1IjoibWlrYXUxODAyIiwiYSI6ImNqZDJlcDRvdzJiOXgycXFvOWNqejJ4emIifQ.GUYkuWfuUElsDBKMtTdsOA'],
{ sphericalMercator: true, wrapDateLine: true},
{singleTile: false, isBaseLayer: true, visibility: false, noLegend: true}),
/*
* ==================================
* Overlays
* ==================================
*/
new OpenLayers.Layer.WMS(
" APROVECHAMIENTO APLICADO (F.C.P.) 2017",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_ANUALIDAD_2017_APROVECHAMIENTO", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" APROVECHAMIENTO APLICADO (F.C.P.) 2018",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_ANUALIDAD_2018_APROVECHAMIENTO", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" CAMBIO DE USO DE SUELO EN TERRENO FORESTAL APLICADO EN F.C.P. (2012-2018)",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_CACUSFT2012_2018", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" EJIDOS DEL MUNICIPIO DE FCP",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_EJID_FCP", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" DIAGNOSTICO SANTA TERESA SIAN KAAN",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_Diag_SantaTeresa_Sian_kaan", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PROGRAMA POR PAGO DE SERVICIO AMBIENTAL 2011 - 2016 ( F.C.P.)",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_PSA_2011_2016", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" MUNICIPIO FELIPE CARRILLO PUERTO",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_MUNICIPIOS_FELIPE_CARRILLO_PUERTO", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PLANTACIONES COMERCIALES FORESTALES",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_PLANTACIONES_COMERCIALES_FORESTALES", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" EJIDOS CERTIFICADOS",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_PUNTO_EJIDOS_CERTIFICADOS", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" DIAGNOSTICO TRAMO PUNTA HERRERO",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "SEMA_PFS_SMDAP0818237010_Diag_Tramo_Punta_Herrero_RBSianKaan", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POEL Benito Juárez",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POEL_Benito_Juarez", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POEL Cozumel",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POEL_Cozumel", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POEL Isla Mujeres",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POEL_Isla_Mujeres", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POEL Othón P. Blanco",
"http://sema.qroo.gob.mx/geoserver/ SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POEL_Othon_P_Blanco", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POEL Solidaridad",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POEL_Solidaridad", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POET Cancún - Tulum",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POET_Cancun_Tulum", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POET Costa Maya",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POET_Costa_Maya", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POET Laguna de Bacalar",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POET_Laguna_Bacalar", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
POET Sian Kaan",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_POES_POET_SianKaan", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
"
Mapa cobertura 2016",
"http://sema.qroo.gob.mx/geoserver/SAMOF/wms",
{layers: "mc_SAMof_QROO_2016_20210527", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" COZ.Zona Sujeta a Conservación Ecológica, Refugio Estatal de Flora y Fauna",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_laguna_colombia", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" LAGUNA MANATI",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_LAGUNA_MANATI", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Parque Chinchankanab",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_Parque_Chinchankanab", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Parque Laguna Bacalar 2011",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_PARQUE_LAGUNA_BACALAR", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Sistema Lagunar Chacmochuc ",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_re_sist_lag_chacmuchuch", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Selvas y Humedales de Cozumel 2015",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_selvas_humedales_cozumel", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Xcacel-Xcacelito 1998",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ANP_xcacel_xcacelito", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Balan Kaax 2011",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_APFF_Balan_Kaax", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Otoch Maax Yetel Kooh 2009",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_Otoch", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Biosfera Reserva Calakmul 2000",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_BIOSFERA_RESERVA_CALAKMUL", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Arrecifes de Cozumel 1998",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_arecifes_de_cozumel", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Chinchorro 2000",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_banco_chinchorro", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Isla Contoy 2015",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_ISLA_CONTOY", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Manglares de Nichupte 2015",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_manglares_nichupte", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Norte Cozumel 2015",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_pff_porcion_norte", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM. Arrecife Puerto Morelos 2000",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_pn_arrecifes_puerto_morelos", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Arrecifes Xcalak 2004",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_pn_arrecifes_xcalak", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" CostaOccidental IM_PCancun_PNizuc 2016",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_PN_CostaOccidental_IM_PCancun_PNizuc", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Reserva_Biosfera_Caribe_Mexicano",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_PM_Reserva_Biosfera_Caribe_Mexicano", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Santuario del Manati",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_santuario_manati", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Sian Kaan 2015",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_sian_kaan", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Tiburon Ballena 2015",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_Tiburon_Ballena", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Tulum 2007",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_Tulum", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Uaymil 2011",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_pm_uaymil", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Yum Balam 2018",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_PM_Yum_Balan", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PM Rio Lagartos",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "SEMA_GEOMATICA_PM_Rio_Lagartos", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" SENSORES CALIDAD AIRE",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "sensores_calidad_aire", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" ANUALIDADES_2017_2018_2019_APROVECHA_BACALAR",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "ANUALIDADES_2017_2018_2019_APROVECHA_BACALAR", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" ANUALIDADES_2018_2019_2020_APROV_JOSE M MORELOS",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "ANUALIDADES_2018_2019_2020_APROV_JOSE M MORELOS", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" COMPENSACIÓN AMBIENTAL POR CAMBIO DE USO DE SUELO EN TERRENOS FORESTALES (CACUSFT)_2012_2018_JOSE_M_MORELOS",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "CACUSFT_2012_2018_JOSE_M_MORELOS", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" EJIDOS_MPO_DE_BACALAR",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "EJIDOS_MPO_DE_BACALAR", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" EJIDOS_MPO_JOSE_M_MORELOS",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "EJIDOS_MPO_JOSE_M_MORELOS", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PAGOS POR SERVICIOS AMBIENTALES (PSA)_2011_2016_BACALAR",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "PSA_2011_2016_BACALAR", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PAGOS POR SERVICIOS AMBIENTALES (PSA)_2011_2016_JOSE_M_MORELOS_",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "PSA_2011_2016_JOSE_M_MORELOS_", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" TEMPORADA_INCENDIOS_2019_JOSE_M_MORELOS",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "TEMPORADA_INCENDIOS_2019_JOSE_M_MORELOS", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" CENTROS DE ATEN. BIENESTAR ANIMAL 2021",
"http://sema.qroo.gob.mx/geoserver/SEMA/wms",
{layers: "Bienestar animal_2021", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" ARBOLADO URBANO",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "arbolado_urbano", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" ACOPIADORES DE RS",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "Acopiadores_QROO", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" LICENCIA DE FUNCIONAMIENTO AMBIENTAL VIGENTES",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "LICENCIA_DE_FUNCIONAMIENTO_AMBIENTAL_cama", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" SISTEMA DE MANEJO AMBIENTAL",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "edu_ambiental_SMA", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" Mercado_Carbono_QRoo",
"http://sema.qroo.gob.mx/geoserver/SAMOF/wms",
{layers: "Mercado_Carbono_QRoo", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c617_buffer500m_concesiones_subterraneas_conagua",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c617_buffer500m_concesiones_subterraneas_conagua", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c617_ConcesionesSubterraneas_CONAGUA",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c617_ConcesionesSubterraneas_CONAGUA", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c616_cuerpodeagua_INEGI",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c616_cuerpodeagua_INEGI", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c616_buffer500m_cuerpodeagua_INEGI",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c616_buffer500m_cuerpodeagua_INEGI", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c615_terrenos_inundables_INEGI",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c615_terrenos_inundables_INEGI", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c614_fracturas_fallas_dolinas_INEGI",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c614_fracturas_fallas_dolinas_INEGI", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c614_coberturahumedales_SAMOF",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c614_coberturahumedales_SAMOF", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c613_loc_may_2500",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c613_loc_may_2500", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c613_amanzanadas_INEGI2020",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c613_amanzanadas_INEGI2020", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c613_Urbanas_OEs_QRoo",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c613_Urbanas_OEs_QRoo", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c613_Union_urbanasOEs_Amanzanadas",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c613_Union_urbanasOEs_Amanzanadas", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c613_Restriccion500m_Urbanas",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c613_Restriccion500m_Urbanas", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c612_ANPs_Federales",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c612_ANPs_Federales", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c612_ANPs_Estatales",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c612_ANPs_Estatales", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c611_RestriccionAviacion",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c611_RestriccionAviacion", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" c611_PistasAviacion",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "c611_PistasAviacion", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" cc611_Centroide_PistasAviacion",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "cc611_Centroide_PistasAviacion", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
, new OpenLayers.Layer.WMS(
" PDU CHETUMAL",
"http://sema.qroo.gob.mx/geoserver/SEMA_GEOMATICA/wms",
{layers: "PDU-CHETUMAL-2302202313HRAS-wgs84", transparent: true, format: "image/png"},
{singleTile: false, opacity: 0.6, isBaseLayer: false, visibility: false, featureInfoFormat: "application/vnd.ogc.gml"
})
/* new OpenLayers.Layer.WMS(
"PDU CANCUN",
'http://sema.qroo.gob.mx:80/geoserver/SEIA/wms',
{layers: "SEIA:pdu_cancun_775", transparent: true, format: 'image/png'},
{singleTile: false, opacity: 0.9, isBaseLayer: false, visibility: true, featureInfoFormat: "application/vnd.ogc.gml"
})
*/
];
// See ToolbarBuilder.js : each string item points to a definition
// in Heron.ToolbarBuilder.defs. Extra options and even an item create function
// can be passed here as well. "-" denotes a separator item.
Heron.options.map.toolbar = [
{type: "scale", options: {width: 110}},
{type: "-"} ,
{type: "featureinfo", options: {popupWindow: {}}},
{type: "-"} ,
{type: "pan"},
{type: "zoomin"},
{type: "zoomout"},
{type: "zoomvisible"},
{type: "-"} ,
{type: "zoomprevious"},
{type: "zoomnext"},
{type: "-"},
{type: "measurelength", options: {geodesic: true}},
{type: "measurearea", options: {geodesic: true}},
{type: "-"},
{type: "coordinatesearch", options: {
// === Full demo configuration ===
// see ToolbarBuilder.js
formWidth: 320
, formPageX: 15
, formPageY: 100
// see CoordSearchPanel.js
, titleDescription: 'Por favor, elija el sistema de proyección de las coordenadas...'
, titleDescriptionStyle: 'font-size:11px; color:dimgrey;'
, bodyBaseCls: 'x-form-back'
, bodyItemCls: 'hr-html-panel-font-size-11'
, bodyCls: 'hr-html-panel-font-size-11'
, fieldMaxWidth: 200
, fieldLabelWidth: 80
, fieldStyle: 'color: red;'
, fieldLabelStyle: 'color: darkblue'
, layerName: 'Location Europe - Lon/Lat'
, onProjectionIndex: 1
, onZoomLevel: -1
, showProjection: true
, showZoom: true
, showAddMarkers: true
, checkAddMarkers: true
, showHideMarkers: true
, checkHideMarkers: false
, showResultMarker: true
, fieldResultMarkerStyle: 'color: green;'
, fieldResultMarkerText: 'Marker position: '
, fieldResultMarkerSeparator: ' | '
, fieldResultMarkerPrecision: 4
, removeMarkersOnClose: true
, showRemoveMarkersBtn: true
, buttonAlign: 'center' // left, center, right
/*
http://spatialreference.org/ref/epsg/4326/
EPSG:4326
WGS 84
WGS84 Bounds: -180.0000, -90.0000, 180.0000, 90.0000
Projected Bounds: -180.0000, -90.0000, 180.0000, 90.0000
http://spatialreference.org/ref/epsg/28992/
EPSG:28992
Amersfoort / RD New
WGS84 Bounds: 3.3700, 50.7500, 7.2100, 53.4700
Projected Bounds: 12628.0541, 308179.0423, 283594.4779, 611063.1429
*/
, hropts: [
{
projEpsg: 'EPSG:4326'
, projDesc: 'EPSG:4326 - WGS 84'
, fieldLabelX: 'Lon [Grad]'
, fieldLabelY: 'Lat [Grad]'
, fieldEmptyTextX: 'Ingrese el valor de Longitud...'
, fieldEmptyTextY: 'Ingrese el valor de Latitud...'
, fieldMinX: -180
, fieldMinY: -90
, fieldMaxX: 180
, fieldMaxY: 90
, fieldDecPrecision: 6
, iconWidth: 32
, iconHeight: 32
, localIconFile: 'bluepin.png'
, iconUrl: null
}
//para agregar otro src
,
{
projEpsg: 'EPSG:32616'
, projDesc: 'EPSG:32616 - UTM / Z16N'
, fieldLabelX: 'X [m]'
, fieldLabelY: 'Y [m]'
, fieldEmptyTextX: 'Ingrese el valor de la coordenada X...'
, fieldEmptyTextY: 'Ingrese el valor de la coordenada Y...'
/* , fieldMinX: 12628.0541
, fieldMinY: 308179.0423
, fieldMaxX: 283594.4779
, fieldMaxY: 611063.1429*/
, fieldMinX: -17221909.848
, fieldMinY: -9456026.185
, fieldMaxX: 17221909.848
, fieldMaxY: 9456026.185
, fieldDecPrecision: 2
, iconWidth: 32
, iconHeight: 32
, localIconFile: 'bluepin.png'
, iconUrl: null
}
]
// ====================================
}},
{type: "oleditor", options: {
pressed: false,
// Options for OLEditor
olEditorOptions: {
activeControls: ['UploadFeature', 'DownloadFeature', 'Separator', 'Navigation', 'SnappingSettings', 'CADTools', 'Separator', 'DeleteAllFeatures', 'DeleteFeature', 'DragFeature', 'SelectFeature', 'Separator', 'DrawHole', 'ModifyFeature', 'Separator'],
featureTypes: ['text', 'regular', 'polygon', 'path', 'point'],
language: 'en',
DownloadFeature: {
url: Heron.globals.serviceUrl,
formats: [
{name: 'Well-Known-Text (WKT)', fileExt: '.wkt', mimeType: 'text/plain', formatter: 'OpenLayers.Format.WKT'},
{name: 'Geographic Markup Language - v2 (GML2)', fileExt: '.gml', mimeType: 'text/xml', formatter: new OpenLayers.Format.GML.v2({featureType: 'oledit', featureNS: 'http://geops.de'})},
{name: 'GeoJSON', fileExt: '.json', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON'},
{name: 'GPS Exchange Format (GPX)', fileExt: '.gpx', mimeType: 'text/xml', formatter: 'OpenLayers.Format.GPX', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'Keyhole Markup Language (KML)', fileExt: '.kml', mimeType: 'text/xml', formatter: 'OpenLayers.Format.KML', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'ESRI Shapefile (zipped, Google projection)', fileExt: '.zip', mimeType: 'application/zip', formatter: 'OpenLayers.Format.GeoJSON', targetFormat: 'ESRI Shapefile', fileProjection: new OpenLayers.Projection('EPSG:900913')},
{name: 'ESRI Shapefile (zipped, WGS84)', fileExt: '.zip', mimeType: 'application/zip', formatter: 'OpenLayers.Format.GeoJSON', targetFormat: 'ESRI Shapefile', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'OGC GeoPackage (Google projection)', fileExt: '.gpkg', mimeType: 'application/binary', formatter: 'OpenLayers.Format.GeoJSON', targetFormat: 'GPKG', fileProjection: new OpenLayers.Projection('EPSG:900913')},
{name: 'OGC GeoPackage (WGS84)', fileExt: '.gpkg', mimeType: 'application/binary', formatter: 'OpenLayers.Format.GeoJSON', targetFormat: 'GPKG', fileProjection: new OpenLayers.Projection('EPSG:4326')}
],
// For custom projections use Proj4.js
fileProjection: new OpenLayers.Projection('EPSG:4326')
},
UploadFeature: {
url: Heron.globals.serviceUrl,
formats: [
{name: 'Well-Known-Text (WKT)', fileExt: '.wkt', mimeType: 'text/plain', formatter: 'OpenLayers.Format.WKT'},
{name: 'Geographic Markup Language - v2 (GML2)', fileExt: '.gml', mimeType: 'text/xml', formatter: 'OpenLayers.Format.GML'},
{name: 'GeoJSON', fileExt: '.json', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON'},
{name: 'GPS Exchange Format (GPX)', fileExt: '.gpx', mimeType: 'text/xml', formatter: 'OpenLayers.Format.GPX', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'Keyhole Markup Language (KML)', fileExt: '.kml', mimeType: 'text/xml', formatter: 'OpenLayers.Format.KML', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'CSV (with X,Y in WGS84)', fileExt: '.csv', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'ESRI Shapefile (zipped, Google projection)', fileExt: '.zip', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON', fileProjection: new OpenLayers.Projection('EPSG:900913')},
{name: 'ESRI Shapefile (zipped, WGS84)', fileExt: '.zip', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON', fileProjection: new OpenLayers.Projection('EPSG:4326')},
{name: 'OGC GeoPackage (Google projection)', fileExt: '.gpkg', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON', fileProjection: new OpenLayers.Projection('EPSG:900913')},
{name: 'OGC GeoPackage (1 layer, WGS84)', fileExt: '.gpkg', mimeType: 'text/plain', formatter: 'OpenLayers.Format.GeoJSON', fileProjection: new OpenLayers.Projection('EPSG:4326')}
],
// For custom projections use Proj4.js
fileProjection: new OpenLayers.Projection('EPSG:4326')
}
}
}
},
];
// The content of the HTML info panel.
Ext.namespace("Heron.options.info");
Heron.options.info.html = '';
/*
* Values for BookmarksPanel (bookmarks to jump to specific
* layers/zoom/center on map.
*/
Ext.namespace("Heron.options");
Heron.options.bookmarks =
[
{
id: 'id_world_europe',
name: 'World image - Europe',
desc: 'Europe',
layers: ['World image'],
x: 9.272,
y: 50.142,
zoom: 4
},
{
id: 'id_world_northamerica',
name: 'World image - North America',
desc: 'North America',
layers: ['World image'],
x: -96.328,
y: 47.461,
zoom: 2
}
];