PageSourceSearch

https://maptal.github.io/CO2-Pipeline/styles/Knotenpunkte_29_style.js

js maptal.github.io collected 2026-10-03 09:34:33 UTC 1,767 bytes, 40 lines download raw bytes

1var size = 0;
2var placement = 'point';
3
4var style_Knotenpunkte_29 = function(feature, resolution){
5    var context = {
6        feature: feature,
7        variables: {}
8    };
9    
10    var labelText = ""; 
11    var value = feature.get("");
12    var labelFont = "18.2px \'Open Sans\', sans-serif";
13    var labelFill = "#ff0000";
14    var bufferColor = "";
15    var bufferWidth = 0;
16    var textAlign = 'right';
17    var offsetX = 0;
18    var offsetY = 11;
19    var overflow = false;
20    var repeat = 0;
21    var placement = 'point';
22    if (feature.get("Name") !== null) {
23        labelText = String(feature.get("Name"));
24    }
25    var style = [ new ol.style.Style({
26        image: new ol.style.RegularShape({radius: 12.0 + size, points: 6,
27            displacement: [0, 0], stroke: new ol.style.Stroke({color: 'rgba(250,139,57,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 3.8}), fill: new ol.style.Fill({color: 'rgba(255,255,255,1.0)'})}),
28        text: createTextStyle(feature, resolution, labelText, labelFont,
29                              labelFill, placement, bufferColor,
30                              bufferWidth, textAlign, offsetX, offsetY, overflow, repeat)
31    }),new ol.style.Style({
32        image: new ol.style.RegularShape({radius: 4.909090909090909 + size, points: 6,
33            displacement: [0, 0], stroke: new ol.style.Stroke({color: 'rgba(255,0,0,1.0)', lineDash: null, lineCap: 'butt', lineJoin: 'miter', width: 0.76}), fill: new ol.style.Fill({color: 'rgba(3,5,26,1.0)'})}),
34        text: createTextStyle(feature, resolution, labelText, labelFont,
35                              labelFill, placement, bufferColor,
36                              bufferWidth, textAlign, offsetX, offsetY, overflow, repeat)
37    })];
38
39    return style;
40};

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.