Prueba Composite

sigc.desarrollo.guadaltel/mapea

by SIGC GUADALTEL

HTML

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

CSS

html,
 body {
   margin: 0;
   padding: 0;
   height: 100%;
   overflow: hidden;
 }

JavaScript

let map = M.map({
  container: "map"
});

var centros = new M.layer.WFS({
  url: "https://clientes.guadaltel.es/desarrollo/geossigc/wfs?",
  namespace: "mapea",
  name: "assda_centros",
  legend: "centrosassda",
  geometry: 'POINT',
});

map.addLayers(centros);

let estilo2 = new M.style.Point({
  radius: 5,
  fill: {
    color: 'green',
    opacity: 0.5
  },
  stroke: {
    color: '#FF0000'
  }
});

let estilo3 = new M.style.Cluster({});