[Test] error KML IECA

by Francisco

HTML

<script src="https://mapea4-sigc.juntadeandalucia.es/js/mapea-5.0.0.ol.min.js"></script>
<link rel="stylesheet" href="https://mapea4-sigc.juntadeandalucia.es/assets/css/mapea-5.0.0.ol.min.css">
<script src="http://mapea4-sigc.juntadeandalucia.es/js/configuration-5.0.0.js"></script>
<div id="map"></div>

CSS

html,
body,
#map {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

JavaScript

//http://mapea4-sigc.juntadeandalucia.es/?wmcfile=http://www.callejerodeandalucia.es/wmc/context_cdau_callejero.xml*Callejero,http://www.callejerodeandalucia.es/wmc/context_cdau_satelite.xml*Satelite,http://www.callejerodeandalucia.es/wmc/context_cdau_hibrido.xml*Hibrido&layers=KML*camping_final*http://www.ideandalucia.es/mapshup/Componente/kml/e7/*camping_final.kml*true&controls=panzoombar,layerswitcher,mouse,navtoolbar&geosearch=http://geobusquedas-sigc.juntadeandalucia.es/geobusquedas/campamentos/search



mapajs = M.map({
				container:"map",
        controls: ["layerswitcher", "mouse"],
        wmcfile: ["http://www.callejerodeandalucia.es/wmc/context_cdau_callejero.xml*Callejero,http://www.callejerodeandalucia.es/wmc/context_cdau_satelite.xml*Satelite,http://www.callejerodeandalucia.es/wmc/context_cdau_hibrido.xml*Hibrido"],
        layers: ["KML*Campamentos*http://www.ideandalucia.es/mapshup/Componente/kml/e7/camping_final.kml*true"]
			});
      
/*mapajs = M.map({
				container:"map",
        controls: ["layerswitcher", "mouse"],
        wmcfile: ["http://www.callejerodeandalucia.es/wmc/context_cdau_callejero.xml*Callejero,http://www.callejerodeandalucia.es/wmc/context_cdau_satelite.xml*Satelite,http://www.callejerodeandalucia.es/wmc/context_cdau_hibrido.xml*Hibrido"],
        layers: ["KML*Arboleda*http://mapea4-sigc.juntadeandalucia.es/files/kml/arbda_sing_se.kml*true"]
			});
      
let kml = mapajs.getKML()[0];*/