PageSourceSearch

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

js statuesque-palmier-6d3cdb.netlify.app collected 2026-10-03 11:27:22 UTC 2,963 bytes, 65 lines download raw bytes

1var size = 0;
2var placement = 'point';
3function categories_Presinantrpica_4(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,0.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(43,131,186,1.0)'}),
10        text: createTextStyle(feature, resolution, labelText, labelFont,
11                              labelFill, placement, bufferColor,
12                              bufferWidth)
13    })];
14                    break;
15case '20':
16                    return [ new ol.style.Style({
17        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,0.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(171,221,164,1.0)'}),
18        text: createTextStyle(feature, resolution, labelText, labelFont,
19                              labelFill, placement, bufferColor,
20                              bufferWidth)
21    })];
22                    break;
23case '40':
24                    return [ new ol.style.Style({
25        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,0.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(255,255,191,1.0)'}),
26        text: createTextStyle(feature, resolution, labelText, labelFont,
27                              labelFill, placement, bufferColor,
28                              bufferWidth)
29    })];
30                    break;
31case '100':
32                    return [ new ol.style.Style({
33        stroke: new ol.style.Stroke({color: 'rgba(35,35,35,0.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.988}),fill: new ol.style.Fill({color: 'rgba(253,174,97,1.0)'}),
34        text: createTextStyle(feature, resolution, labelText, labelFont,
35                              labelFill, placement, bufferColor,
36                              bufferWidth)
37    })];
38                    break;}};
39
40var style_Presinantrpica_4 = function(feature, resolution){
41    var context = {
42        feature: feature,
43        variables: {}
44    };
45    
46    var labelText = ""; 
47    var value = feature.get("_max");
48    var labelFont = "10px, sans-serif";
49    var labelFill = "#000000";
50    var bufferColor = "";
51    var bufferWidth = 0;
52    var textAlign = "left";
53    var offsetX = 0;
54    var offsetY = 0;
55    var placement = 'point';
56    if ("" !== null) {
57        labelText = String("");
58    }
59    
60    var style = categories_Presinantrpica_4(feature, value, size, resolution, labelText,
61                            labelFont, labelFill, bufferColor,
62                            bufferWidth, placement);
63
64    return style;
65};

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.