style parameter from geoserver

المشرف العام

Administrator
طاقم الإدارة
I want to make a syle by taking field_1 parameters of geoserver this is the script

var style_titik =(

if (feature.get('field_6') === '4') {var b2 = new ol.style.Style({ image: new ol.style.Circle({ radius: 6, fill: new ol.style.Fill({ color: 'rgba(20,150,200,0.6)' }), stroke: new ol.style.Stroke({ color: 'rgba(20,130,150,0.8)', width: 1 }) }) })}); else { var b1 = new ol.style.Style({ image: new ol.style.Circle({ radius: 30, fill: new ol.style.Fill({ color: 'rgba(255,1,2,0.6)' }), stroke: new ol.style.Stroke({ color: 'rgba(220,1,1,0.8)', width: 1 }) }) })};

أكثر...
 
أعلى