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: ' · <a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors, CC-BY-SA</a>', 12 url: 'http://tile.openstreetmap.org/{z}/{x}/{y}.png' 13 }) 14 }); 15 16 var lyr_ESRISatellite_1 = new ol.layer.Tile({ 17 'title': 'ESRI Satellite', 18 //'type': 'base', 19 'opacity': 1.000000, 20 21 22 source: new ol.source.XYZ({ 23 attributions: ' ', 24 url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}' 25 }) 26 }); 27var format_Municpios_2 = new ol.format.GeoJSON(); 28var features_Municpios_2 = format_Municpios_2.readFeatures(json_Municpios_2, 29 {dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'}); 30var jsonSource_Municpios_2 = new ol.source.Vector({ 31 attributions: ' ', 32}); 33jsonSource_Municpios_2.addFeatures(features_Municpios_2); 34var lyr_Municpios_2 = new ol.layer.Vector({ 35 declutter: false, 36 source:jsonSource_Municpios_2, 37 style: style_Municpios_2, 38 popuplayertitle: "MunicÃpios", 39 interactive: true, 40 title: 'MunicÃpios<br />\ 41 <img src="styles/legend/Municpios_2_0.png" /> CarapicuÃba<br />\ 42 <img src="styles/legend/Municpios_2_1.png" /> Cotia<br />\ 43 <img src="styles/legend/Municpios_2_2.png" /> Embu das Artes<br />\ 44 <img src="styles/legend/Municpios_2_3.png" /> Embu-Guaçu<br />\ 45 <img src="styles/legend/Municpios_2_4.png" /> Ibiúna<br />\ 46 <img src="styles/legend/Municpios_2_5.png" /> Itapecerica da Serra<br />\ 47 <img src="styles/legend/Municpios_2_6.png" /> Itapevi<br />\ 48 <img src="styles/legend/Municpios_2_7.png" /> Jandira<br />\ 49 <img src="styles/legend/Municpios_2_8.png" /> Osasco<br />\ 50 <img src="styles/legend/Municpios_2_9.png" /> São Lourenço da Serra<br />\ 51 <img src="styles/legend/Municpios_2_10.png" /> São Paulo<br />\ 52 <img src="styles/legend/Municpios_2_11.png" /> Taboão da Serra<br />\ 53 <img src="styles/legend/Municpios_2_12.png" /> Vargem Grande Paulista<br />' 54 }); 55var format_readeabrangncia_3 = new ol.format.GeoJSON(); 56var features_readeabrangncia_3 = format_readeabrangncia_3.readFeatures(json_readeabrangncia_3, 57 {dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'}); 58var jsonSource_readeabrangncia_3 = new ol.source.Vector({ 59 attributions: ' ', 60}); 61jsonSource_readeabrangncia_3.addFeatures(features_readeabrangncia_3); 62var lyr_readeabrangncia_3 = new ol.layer.Vector({ 63 declutter: false, 64 source:jsonSource_readeabrangncia_3, 65 style: style_readeabrangncia_3, 66 popuplayertitle: "Ãrea de abrangência", 67 interactive: true, 68 title: '<img src="styles/legend/readeabrangncia_3.png" /> Ãrea de abrangência' 69 }); 70var group_group1 = new ol.layer.Group({ 71 layers: [lyr_Municpios_2,lyr_readeabrangncia_3,], 72 fold: "open", 73 title: "group1"}); 74var group_BANCODEREASPARAPLANTIO = new ol.layer.Group({ 75 layers: [], 76 fold: "open", 77 title: "BANCO DE ÃREAS PARA PLANTIO"}); 78 79lyr_OSMStandard_0.setVisible(true);lyr_ESRISatellite_1.setVisible(true);lyr_Municpios_2.setVisible(true);lyr_readeabrangncia_3.setVisible(true); 80var layersList = [lyr_OSMStandard_0,lyr_ESRISatellite_1,group_group1]; 81lyr_Municpios_2.set('fieldAliases', {'id': 'id', 'cd_mun': 'cd_mun', 'nm_mun': 'nm_mun', 'sigla_uf': 'sigla_uf', 'area_km2': 'area_km2', 'color_id': 'color_id', }); 82lyr_readeabrangncia_3.set('fieldAliases', {'CD_MUN': 'CD_MUN', 'NM_MUN': 'NM_MUN', 'SIGLA_UF': 'SIGLA_UF', 'AREA_KM2': 'AREA_KM2', 'pk': 'pk', 'subregiao': 'subregiao', 'area_km2_2': 'area_km2_2', 'escala': 'escala', 'fonte': 'fonte', 'shape_leng': 'shape_leng', 'shape_area': 'shape_area', }); 83lyr_Municpios_2.set('fieldImages', {'id': '', 'cd_mun': '', 'nm_mun': '', 'sigla_uf': '', 'area_km2': '', 'color_id': '', }); 84lyr_readeabrangncia_3.set('fieldImages', {'CD_MUN': '', 'NM_MUN': '', 'SIGLA_UF': '', 'AREA_KM2': '', 'pk': '', 'subregiao': '', 'area_km2_2': '', 'escala': '', 'fonte': '', 'shape_leng': '', 'shape_area': '', }); 85lyr_Municpios_2.set('fieldLabels', {'id': 'no label', 'cd_mun': 'no label', 'nm_mun': 'no label', 'sigla_uf': 'no label', 'area_km2': 'no label', 'color_id': 'no label', }); 86lyr_readeabrangncia_3.set('fieldLabels', {'CD_MUN': 'no label', 'NM_MUN': 'inline label - always visible', 'SIGLA_UF': 'no label', 'AREA_KM2': 'no label', 'pk': 'no label', 'subregiao': 'no label', 'area_km2_2': 'no label', 'escala': 'no label', 'fonte': 'no label', 'shape_leng': 'no label', 'shape_area': 'no label', }); 87lyr_readeabrangncia_3.on('precompose', function(evt) {
88 evt.context.globalCompositeOperation = 'normal'; 89});
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.