PageSourceSearch

https://statuesque-palmier-6d3cdb.netlify.app/styles/Riesgodeincendio_1_style.js

js statuesque-palmier-6d3cdb.netlify.app collected 2026-10-03 11:27:20 UTC 3,438 bytes, 73 lines download raw bytes

1var size = 0;
2var placement = 'point';
3function categories_Riesgodeincendio_1(feature, value, size, resolution, labelText,
4                       labelFont, labelFill, bufferColor, bufferWidth,
5                       placement) {
6                var valueStr = (value !== null && value !== undefined) ? value.toString() : 'default';
7                switch(valueStr) {case '0':
8                    return [ new ol.style.Style({
9        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(215,25,28,1.0)'}),
10        text: createTextStyle(feature, resolution, labelText, labelFont,
11                              labelFill, placement, bufferColor,
12                              bufferWidth)
13    })];
14                    break;
15case '25':
16                    return [ new ol.style.Style({
17        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(245,144,83,1.0)'}),
18        text: createTextStyle(feature, resolution, labelText, labelFont,
19                              labelFill, placement, bufferColor,
20                              bufferWidth)
21    })];
22                    break;
23case '50':
24                    return [ new ol.style.Style({
25        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(254,223,153,1.0)'}),
26        text: createTextStyle(feature, resolution, labelText, labelFont,
27                              labelFill, placement, bufferColor,
28                              bufferWidth)
29    })];
30                    break;
31case '75':
32                    return [ new ol.style.Style({
33        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(221,241,180,1.0)'}),
34        text: createTextStyle(feature, resolution, labelText, labelFont,
35                              labelFill, placement, bufferColor,
36                              bufferWidth)
37    })];
38                    break;
39case '100':
40                    return [ new ol.style.Style({
41        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(145,203,168,1.0)'}),
42        text: createTextStyle(feature, resolution, labelText, labelFont,
43                              labelFill, placement, bufferColor,
44                              bufferWidth)
45    })];
46                    break;}};
47
48var style_Riesgodeincendio_1 = function(feature, resolution){
49    var context = {
50        feature: feature,
51        variables: {}
52    };
53    
54    var labelText = ""; 
55    var value = feature.get("_max");
56    var labelFont = "10px, sans-serif";
57    var labelFill = "#000000";
58    var bufferColor = "";
59    var bufferWidth = 0;
60    var textAlign = "left";
61    var offsetX = 0;
62    var offsetY = 0;
63    var placement = 'point';
64    if ("" !== null) {
65        labelText = String("");
66    }
67    
68    var style = categories_Riesgodeincendio_1(feature, value, size, resolution, labelText,
69                            labelFont, labelFill, bufferColor,
70                            bufferWidth, placement);
71
72    return style;
73};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.