Skip to content

Commit

Permalink
Merge pull request #466 from guadaltel/develop
Browse files Browse the repository at this point in the history
20240607
  • Loading branch information
fbma authored Jun 10, 2024
2 parents cf7806c + dce9388 commit d103375
Show file tree
Hide file tree
Showing 37 changed files with 76 additions and 62 deletions.
2 changes: 1 addition & 1 deletion mapea-js/src/facade/js/style/Generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Generic extends Simple {
* @private
*/
getDeserializedMethod_() {
return "((serializedParameters) => M.style.Simple.deserialize(serializedParameters, 'M.style.Generic'))";
return "((serializedParameters) => M.style ? M.style.Simple.deserialize(serializedParameters, 'M.style.Generic') : console.error('M.style is not defined'))";
}
}

Expand Down
2 changes: 1 addition & 1 deletion mapea-js/src/facade/js/style/Line.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Line extends Simple {
* @private
*/
getDeserializedMethod_() {
return "((serializedParameters) => M.style.Simple.deserialize(serializedParameters, 'M.style.Line'))";
return "((serializedParameters) => M.style ? M.style.Simple.deserialize(serializedParameters, 'M.style.Line') : console.error('M.style is not defined'))";
}
}

Expand Down
2 changes: 1 addition & 1 deletion mapea-js/src/facade/js/style/Point.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Point extends Simple {
* @private
*/
getDeserializedMethod_() {
return "((serializedParameters) => M.style.Simple.deserialize(serializedParameters, 'M.style.Point'))";
return "((serializedParameters) => M.style ? M.style.Simple.deserialize(serializedParameters, 'M.style.Point') : console.error('M.style is not defined'))";
}
}

Expand Down
2 changes: 1 addition & 1 deletion mapea-js/src/facade/js/style/Polygon.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Polygon extends Simple {
* @private
*/
getDeserializedMethod_() {
return "((serializedParameters) => M.style.Simple.deserialize(serializedParameters, 'M.style.Polygon'))";
return "((serializedParameters) => M.style ? M.style.Simple.deserialize(serializedParameters, 'M.style.Polygon') : console.error('M.style is not defined'))";
}
}

Expand Down
3 changes: 2 additions & 1 deletion mapea-js/src/facade/js/style/Quantification.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const jenksBreaks = (data, lowerClassLimits, nClasses) => {
// the lowerClassLimits matrix is used as indexes into itself
// here: the `k` variable is reused in each iteration.
while (countNum > 1) {
kclass[countNum - 1] = data[lowerClassLimits[k][countNum] - 2];
kclass[countNum - 1] = data[Math.max(0, lowerClassLimits[k][countNum] - 2)];
k = lowerClassLimits[k][countNum] - 1;
countNum -= 1;
}
Expand Down Expand Up @@ -186,6 +186,7 @@ export const JENKS = (numberClassesParam) => {
const breaks = jenksBreaks(data, lowerClassLimits, nclasses);
// No cogemos el minimo
const breakPoints = breaks.slice(1, breaks.length);
console.log(breakPoints);
return breakPoints;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,20 @@ export default class AttributeTableControl extends M.Control {

zoomToSelected(evt) {
const zoomTo = [];
this.layer_.getFeatures().forEach((feature) => {
if (this.featuresSeleccionados.includes(feature.getId())) {
zoomTo.push(feature);
if (this.layer_) {
this.layer_.getFeatures().forEach((feature) => {
if (this.featuresSeleccionados.includes(feature.getId())) {
zoomTo.push(feature);
}
});
const pcode = this.facadeMap_.getProjection().code;
const extent = M.impl.utils.getFeaturesExtent(zoomTo, pcode);
if (!M.utils.isNullOrEmpty(extent)) {
this.facadeMap_.setBbox(extent);
}
});
const pcode = this.facadeMap_.getProjection().code;
const extent = M.impl.utils.getFeaturesExtent(zoomTo, pcode);
if (!M.utils.isNullOrEmpty(extent)) {
this.facadeMap_.setBbox(extent);
} else {
// eslint-disable-next-line no-console
console.error('No hay mapa asociado al control de tabla de atributos.');
}
}

Expand Down
3 changes: 3 additions & 0 deletions mapea-js/test/development/adivina-municipio.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ layer.on(SelectFeaturesEvt, (features) => {
});

window.resetea = () => {
anteriores.forEach((feat) => {
feat.setStyle(undefined);
});
anteriores = [];
layer.setStyle(incognita);
layer.redraw();
Expand Down
4 changes: 2 additions & 2 deletions mapea-js/test/development/attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mapjs.addPlugin(attributetable);

const campamentosa = new M.layer.GeoJSON({
name: 'Campamentos',
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:campamentos&outputFormat=application/json&',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:campamentos&outputFormat=application/json&',
extract: true,
legend: 'Campamentos A',
});
Expand All @@ -36,7 +36,7 @@ window.campamentosa = campamentosa;
/* / Campamento comentado
const campamentosB = new M.layer.GeoJSON({
name: 'Campamentos',
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:campamentos&outputFormat=application/json&',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:campamentos&outputFormat=application/json&',
extract: true,
legend: 'Campamentos b',
}); // */
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/basic-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import { map as Mmap } from 'M/mapea';
const mapa = Mmap({
container: 'map',
// controls: ['layerswitcher'],
layers: ['WMTS*https://www.ideandalucia.es/geowebcache/service/wmts?*orto_2010-11*false'],
layers: ['WMTS*http://www.ign.es/wmts/pnoa-ma?*OI.OrthoimageCoverage*false'],
});
window.map = mapa;
6 changes: 3 additions & 3 deletions mapea-js/test/development/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const m = Mmap({
controls: ['layerswitcher', 'panzoom', 'navtoolbar'],
wmcfiles: ['callejero'],
layers: [
'WFST*CapaWFS_POL*https://clientes.guadaltel.es/desarrollo/geossigc/wfs?*callejero:mapea_filtros_no_tocar*MPOLYGON',
'WFST*CapaWFS_POINT*https://clientes.guadaltel.es/desarrollo/geossigc/wfs?*ggis:TEST_Geor_Inventario_cavidades*MPOINT',
'WFS*Lineas*https://clientes.guadaltel.es/desarrollo/geossigc/wfs?*mapea:hs1_100_simplificada*MLINE',
'WFST*CapaWFS_POL*https://geostematicos-sigc.juntadeandalucia.es/geoserver/tematicos/ows?*tematicos:Provincias*MPOLYGON',
'WFST*CapaWFS_POINT*https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows*sepim:campamentos*POINT',
'WFS*Lineas*https://geostematicos-sigc.juntadeandalucia.es/geoserver/tematicos/ows?*tematicos:Provincias*MLINE',
],
});

Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/geojson.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const mapjs = map({

// GeoJSON local
const layer = new GeoJSON({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:EstructuraJA&maxFeatures=50&outputFormat=application%2Fjson',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:EstructuraJA&maxFeatures=50&outputFormat=application%2Fjson',
name: 'prueba',
});

Expand Down
5 changes: 2 additions & 3 deletions mapea-js/test/development/jsts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import WFS from 'M/layer/WFS';
import GeoJSON from 'M/layer/GeoJSON';
import { SELECT_FEATURES } from 'M/event/eventtype';
import Feature from 'M/feature/Feature';

const jsts = require('jsts/dist/jsts.js');
import { GeoJSONReader } from 'jsts/org/locationtech/jts/io';

const mapajs = map({
container: 'map',
Expand Down Expand Up @@ -34,7 +33,7 @@ const lyEnvelope = new GeoJSON({
});

lyProvincias.on(SELECT_FEATURES, (features) => {
const parser = new jsts.io.GeoJSONReader();
const parser = new GeoJSONReader();
const f = parser.read(features[0].getGeoJSON());
const objEnv = f.geometry.getEnvelopeInternal();

Expand Down
3 changes: 2 additions & 1 deletion mapea-js/test/development/layer-vectortile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ const mapjs = Mmap({
projection: 'EPSG:3857*m',
controls: ['mouse'],
layers: ['OSM'],
ticket: 'PWUMZ5MQTPUGAEWTHCXVXSFZLLAKXUNKBQSTBOVVUIDYTPVPUK3Q3UZNNIV3HB6JTIFBCNXB3PJIGPKARGK5HLKV5CXQ4J62FEXTGWHYJG3BHFLETUSVDLRYDVB2SL4WNYTQMGVGFGBMVGM4QJ5H4FFH34WF6SJNEG5FNGY',
});

const mvt = new MVT(
{
url: 'https://localhost:8080/geoserver/gwc/service/tms/1.0.0/CHG:carmenmarquez_municipios_20200916_16431@EPSG:900913@pbf/{z}/{x}/{-y}.pbf',
url: 'https://hcsigc-geoserver-sigc.desarrollo.guadaltel.es/geoserver/gwc/service/tms/1.0.0/Global:superadministradortest_oficinas_sae_prueba_1717413455725@EPSG%3A3857@pbf/{z}/{x}/{-y}.pbf',
name: 'vectortile',
projection: 'EPSG:3857',
},
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/layer-wms_full.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { map as Mmap } from 'M/mapea';
const mapjs = Mmap({
container: 'map',
wmc: ['callejeroCacheado'],
// layers: ['WMS_FULL*http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_Permeabilidad_Andalucia?'], // ERROR 404
// layers: ['WMS_FULL*https://www.ideandalucia.es/wms/mdt_2016?'], // ERROR 404
layers: ['WMS_FULL*https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_zona_peligro_incendios_forestales?*true'],
// layers: ['WMS_FULL*http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_Edad_Geologica_Andalucia?*true'], // Long wait before shown with colors
center: [353200, 4125400],
Expand Down
14 changes: 8 additions & 6 deletions mapea-js/test/development/layerGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ const mapa = map({ container: 'map', controls: ['layerswitcher'] });

// layers
const centrosMedicos = new WFS({
url: 'https://herramienta-centralizada-sigc.desarrollo.guadaltel.es/geoserver/Global/wfs?*',
name: 'centros_medicos_2da3a991_a621_4a01_b4c0_a9c7f90d1f00',
legend: 'Centros Medicos',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
name: 'campamentos',
namespace: 'sepim',
legend: 'sepim:campamentos',
tiled: true,
});

Expand All @@ -30,9 +31,10 @@ const nucleo = new WFS({
});

const provinciasWMS = new WFS({
url: 'https://herramienta-centralizada-sigc.desarrollo.guadaltel.es/geoserver/guadaltel_prod/wfs?*',
name: 'u2_red_nacional_de_p_1ac4a9b2_dde9_4a83_9569_93ef5cfb1f60',
legend: 'provinciasWMS',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/tematicos/ows?*',
name: 'Provincias',
legend: 'Provincias',
namespace: 'tematicos',
tiled: true,
});

Expand Down
7 changes: 4 additions & 3 deletions mapea-js/test/development/maxextent.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ window.mapjs = mapjs;
// cargar/quitar wmc
const maxExtent = [193104.52926740074, 4119420.5399687593, 287161.9825899291, 4164759.1717656343];
const wmc = new WMC('http://sigc.desarrollo.guadaltel.es/mapea5/files/wmc/wmcprueba.xml*prueba');
const permeabilidad = new WMS('WMS*permeabilidad*http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_Permeabilidad_Andalucia?*permeabilidad');
const redesEnergeticas = new WMS('WMS*Redes*http://www.ideandalucia.es/wms/mta400v_2008?*Redes_energeticas*true');
// const permeabilidad = new WMS('WMS*Redes*https://www.ideandalucia.es/wms/mta400v_2008?*Redes_energeticas');
const permeabilidad = new WMS('WMS*permeabilidad*http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_zona_peligro_incendios_forestales?*REDIAM');
const redesEnergeticas = new WMS('WMS*Redes*https://www.ideandalucia.es/wms/mta400v_2008?*Redes_energeticas*true');
const limites = new WMS('WMS*Limites*https://www.ideandalucia.es/wms/mta10v_2007?*Limites*true');
const canarias = new WMS('WMS*canarias*http://idecan2.grafcan.es/ServicioWMS/MOS?*WMS_MOS*true*false');
const toporaster = new WMTS('WMTS*http://www.ideandalucia.es/geowebcache/service/wmts?*toporaster');
Expand All @@ -41,7 +42,7 @@ window.prioridadCapa = (evt) => {
Añadimos una WMS con un maxExtent por parámetro.
`);
const permeabilidadExtent = new WMS({
// url: "http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_Permeabilidad_Andalucia?", name: "permeabilidad",
// url: "https://www.ideandalucia.es/wms/mta400v_2008?", name: "Redes_energeticas",
url: 'http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_zona_peligro_incendios_forestales?',
name: 'REDIAM',
maxExtent,
Expand Down
1 change: 1 addition & 0 deletions mapea-js/test/development/mbtiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const mapjs = Mmap({
// bbox: [-734643.6701675085, 4803884.403272196, -576286.1226744428, 4882155.920236216]
});

// En esta url se pueden descargar ficheros mbtiles: https://centrodedescargas.cnig.es/CentroDescargas/loadMapMovExt
fetch('./monfrague.mbtiles').then((response) => {
const mbtile = new MBTiles({
name: 'mbtile',
Expand Down
6 changes: 3 additions & 3 deletions mapea-js/test/development/printer-layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import Printerdos from 'plugins/printerdos/facade/js/printerdos';
// import WMS from 'M/layer/WMS';
// import GeoJSON from 'M/layer/GeoJSON';
// import LayerGroup from 'M/layer/LayerGroup';
import WFS from 'M/layer/WFS';
import KML from 'M/layer/KML';
import WFS from 'M/layer/WFS';
// import WMTS from 'M/layer/WMTS';
// import Point from 'M/style/Point';
// import Cluster from 'M/style/Cluster';
Expand Down Expand Up @@ -73,7 +73,7 @@ mapjs.addWFS(rios); // */

// Capa con campamentos de andalucía
const campamentos = new M.layer.WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
name: 'campamentos',
legend: 'Campamentos',
geometry: 'MPOINT',
Expand Down Expand Up @@ -122,7 +122,7 @@ mapjs.addWMTS(toporaster); // */

/* / Capa con los menores de 15 años por provincia
const estructuraJA = new M.layer.WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'EstructuraJA',
legend: 'Menores de 15 años por provincia',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-category-point.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mapjs = map({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'campamentos',
legend: 'Campamentos',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-choropleth-point.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mapjs = map({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'campamentos',
legend: 'Campamentos',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.mapjs = map({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'campamentos',
legend: 'Campamentos',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-composite.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mapjs = map({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
name: 'sepim:campamentos',
legend: 'Campamentos',
geometry: 'POINT',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-heatmap-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mapjs = Mmap({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'campamentos',
legend: 'Campamentos',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const mapjs = map({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'campamentos',
legend: 'Campamentos',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-point.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mapjs = map({
});

const campamentos = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
name: 'sepim:campamentos',
legend: 'Campamentos',
geometry: 'POINT',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/style-proportional-point.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mapjs = map({
});

const wfs = new WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
name: 'sepim:campamentos',
legend: 'Campamentos',
geometry: 'POINT',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/development/styles-scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ window.polygons = new MlayerWFS({
}),
});
window.points = new MlayerWFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows',
name: 'sepim:campamentos',
legend: 'Campamentos',
geometry: 'POINT',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/production/jsfiddle/basic-puntos.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var mapajs = M.map({


var campamentos = new M.layer.WFS({
url: "http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows",
url: "https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows",
name: "sepim:campamentos",
legend: "Campamentos",
geometry: 'POINT',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/production/jsfiddle/composite.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let map = M.map({
// Capa puntual de Campamentos
var campamentos = new M.layer.GeoJSON({
name: "Provincias",
url: "http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=campamentos&outputFormat=application/json",
url: "https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=campamentos&outputFormat=application/json",
extract: true
});

Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/production/jsfiddle/eventos.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mapajs.on(M.evt.ADDED_WMS, function() {
});

var wfslayer = new M.layer.WFS({
url: 'http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
url: 'https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?',
namespace: 'sepim',
name: 'campamentos',
geometry: 'POINT'
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/production/jsfiddle/generic-puntos.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var mapajs = M.map({


var campamentos = new M.layer.WFS({
url: "http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows",
url: "https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows",
name: "sepim:campamentos",
legend: "Campamentos",
geometry: 'POINT',
Expand Down
2 changes: 1 addition & 1 deletion mapea-js/test/production/jsfiddle/grupocapa.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let provincias = new M.layer.GeoJSON({

let campamentos = new M.layer.GeoJSON({
name: "Campamentos",
url: "http://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:campamentos&outputFormat=application/json&",
url: "https://geostematicos-sigc.juntadeandalucia.es/geoserver/sepim/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sepim:campamentos&outputFormat=application/json&",
extract: true
});

Expand Down
Loading

0 comments on commit d103375

Please sign in to comment.