PageSourceSearch

https://effulgent-cranachan-b227e2.netlify.app/layers/layers.js

js effulgent-cranachan-b227e2.netlify.app collected 2026-10-03 10:41:14 UTC 4,696 bytes, 80 lines download raw bytes

1var wms_layers = [];
2
3
4        var lyr_OSMStandard_0 = new ol.layer.Tile({
5            'title': 'OSM Standard',
6            'type':'base',
7            'opacity': 1.000000,
8            
9            
10            source: new ol.source.XYZ({
11            attributions: '&nbsp;&middot; <a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors, CC-BY-SA</a>',
12                url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
13            })
14        });
15
16        var lyr_GoogleTerrain_1 = new ol.layer.Tile({
17            'title': 'Google Terrain',
18            'type':'base',
19            'opacity': 1.000000,
20            
21            
22            source: new ol.source.XYZ({
23            attributions: '&nbsp;&middot; <a href="https://www.google.at/permissions/geoguidelines/attr-guide.html">Map data ©2015 Google</a>',
24                url: 'https://mt1.google.com/vt/lyrs=p&x={x}&y={y}&z={z}'
25            })
26        });
27
28        var lyr_ESRISatellite_2 = new ol.layer.Tile({
29            'title': 'ESRI Satellite',
30            'type':'base',
31            'opacity': 1.000000,
32            
33            
34            source: new ol.source.XYZ({
35            attributions: ' ',
36                url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'
37            })
38        });
39var format_DrugSeizurePoints_3 = new ol.format.GeoJSON();
40var features_DrugSeizurePoints_3 = format_DrugSeizurePoints_3.readFeatures(json_DrugSeizurePoints_3, 
41            {dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'});
42var jsonSource_DrugSeizurePoints_3 = new ol.source.Vector({
43    attributions: ' ',
44});
45jsonSource_DrugSeizurePoints_3.addFeatures(features_DrugSeizurePoints_3);
46var lyr_DrugSeizurePoints_3 = new ol.layer.Vector({
47                declutter: false,
48                source:jsonSource_DrugSeizurePoints_3, 
49                style: style_DrugSeizurePoints_3,
50                popuplayertitle: 'Drug Seizure Points',
51                interactive: true,
52                title: '<img src="styles/legend/DrugSeizurePoints_3.png" /> Drug Seizure Points'
53            });
54var format_India_4 = new ol.format.GeoJSON();
55var features_India_4 = format_India_4.readFeatures(json_India_4, 
56            {dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'});
57var jsonSource_India_4 = new ol.source.Vector({
58    attributions: ' ',
59});
60jsonSource_India_4.addFeatures(features_India_4);
61var lyr_India_4 = new ol.layer.Vector({
62                declutter: false,
63                source:jsonSource_India_4, 
64                style: style_India_4,
65                popuplayertitle: 'India',
66                interactive: true,
67                title: '<img src="styles/legend/India_4.png" /> India'
68            });
69
70lyr_OSMStandard_0.setVisible(true);lyr_GoogleTerrain_1.setVisible(true);lyr_ESRISatellite_2.setVisible(true);lyr_DrugSeizurePoints_3.setVisible(true);lyr_India_4.setVisible(true);
71var layersList = [lyr_OSMStandard_0,lyr_GoogleTerrain_1,lyr_ESRISatellite_2,lyr_DrugSeizurePoints_3,lyr_India_4];
72lyr_DrugSeizurePoints_3.set('fieldAliases', {'id': 'id', 'Name': 'Name', 'description': 'description', 'timestamp': 'timestamp', 'begin': 'begin', 'end': 'end', 'altitudeMode': 'altitudeMode', 'tessellate': 'tessellate', 'extrude': 'extrude', 'visibility': 'visibility', 'drawOrder': 'drawOrder', 'icon': 'icon', });
73lyr_India_4.set('fieldAliases', {'shapeiso': 'shapeiso', 'shape0': 'shape0', 'shapeid': 'shapeid', 'shapegroup': 'shapegroup', 'shapetype': 'shapetype', 'gid': 'gid', });
74lyr_DrugSeizurePoints_3.set('fieldImages', {'id': 'TextEdit', 'Name': 'TextEdit', 'description': 'TextEdit', 'timestamp': 'DateTime', 'begin': 'DateTime', 'end': 'DateTime', 'altitudeMode': 'TextEdit', 'tessellate': 'Range', 'extrude': 'Range', 'visibility': 'Range', 'drawOrder': 'Range', 'icon': 'TextEdit', });
75lyr_India_4.set('fieldImages', {'shapeiso': 'TextEdit', 'shape0': 'TextEdit', 'shapeid': 'TextEdit', 'shapegroup': 'TextEdit', 'shapetype': 'TextEdit', 'gid': 'Range', });
76lyr_DrugSeizurePoints_3.set('fieldLabels', {'id': 'hidden field', 'Name': 'hidden field', 'description': 'inline label - always visible', 'timestamp': 'hidden field', 'begin': 'hidden field', 'end': 'hidden field', 'altitudeMode': 'hidden field', 'tessellate': 'hidden field', 'extrude': 'hidden field', 'visibility': 'hidden field', 'drawOrder': 'hidden field', 'icon': 'hidden field', });
77lyr_India_4.set('fieldLabels', {'shapeiso': 'no label', 'shape0': 'no label', 'shapeid': 'no label', 'shapegroup': 'no label', 'shapetype': 'no label', 'gid': 'no label', });
78lyr_India_4.on('precompose', function(evt) {
79    evt.context.globalCompositeOperation = 'normal';
80});

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.