I want to take attribute from field_1 in geoserver to show at open layer 3
this is the script
lokasipenting = new ol.layer.Vector({ source: lokasi_penting, if ((feature.get('field_1'))=="PENYEDIA AKOMODASI") {style: b1}, else if (feature.get('field_1')=="JASA PENYEDIA AKOMODASI") {style: b2} name: 'lokasipenting' }) map.addLayer(lokasipenting);
أكثر...
this is the script
lokasipenting = new ol.layer.Vector({ source: lokasi_penting, if ((feature.get('field_1'))=="PENYEDIA AKOMODASI") {style: b1}, else if (feature.get('field_1')=="JASA PENYEDIA AKOMODASI") {style: b2} name: 'lokasipenting' }) map.addLayer(lokasipenting);
أكثر...