-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
4,539 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width"> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<link rel="stylesheet" href="./resources/ol.css"> | ||
<link rel="stylesheet" href="resources/fontawesome-all.min.css"> | ||
<link rel="stylesheet" href="./resources/ol-layerswitcher.css"> | ||
<link rel="stylesheet" href="./resources/qgis2web.css"> | ||
<style> | ||
.search-layer { | ||
top: 100px; | ||
left: .5em; | ||
} | ||
.ol-touch .search-layer { | ||
top: 130px; | ||
} | ||
</style> | ||
<style> | ||
html, body { | ||
background-color: #ffffff; | ||
} | ||
.ol-control button { | ||
background-color: #f8f8f8 !important; | ||
color: #000000 !important; | ||
border-radius: 0px !important; | ||
} | ||
.ol-zoom, .geolocate, .gcd-gl-control .ol-control { | ||
background-color: rgba(255,255,255,.4) !important; | ||
padding: 3px !important; | ||
} | ||
.ol-scale-line { | ||
background: none !important; | ||
} | ||
.ol-scale-line-inner { | ||
border: 2px solid #f8f8f8 !important; | ||
border-top: none !important; | ||
background: rgba(255, 255, 255, 0.5) !important; | ||
color: black !important; | ||
} | ||
</style> | ||
<style> | ||
.tooltip { | ||
position: relative; | ||
background: rgba(0, 0, 0, 0.5); | ||
border-radius: 4px; | ||
color: white; | ||
padding: 4px 8px; | ||
opacity: 0.7; | ||
white-space: nowrap; | ||
} | ||
.tooltip-measure { | ||
opacity: 1; | ||
font-weight: bold; | ||
} | ||
.tooltip-static { | ||
background-color: #ffcc33; | ||
color: black; | ||
border: 1px solid white; | ||
} | ||
.tooltip-measure:before, | ||
.tooltip-static:before { | ||
border-top: 6px solid rgba(0, 0, 0, 0.5); | ||
border-right: 6px solid transparent; | ||
border-left: 6px solid transparent; | ||
content: ""; | ||
position: absolute; | ||
bottom: -6px; | ||
margin-left: -7px; | ||
left: 50%; | ||
} | ||
.tooltip-static:before { | ||
border-top-color: #ffcc33; | ||
} | ||
.measure-control { | ||
top: 65px; | ||
left: .5em; | ||
display: flex; | ||
} | ||
.ol-touch .measure-control { | ||
top: 80px; | ||
} | ||
.measure-control label { | ||
padding: 1px; | ||
padding-right: 4px; | ||
} | ||
</style> | ||
<style> | ||
#map { | ||
width: 1242px; | ||
height: 871px; | ||
} | ||
</style> | ||
<title>Montreal</title> | ||
</head> | ||
<body> | ||
<div id="map"> | ||
<div id="popup" class="ol-popup"> | ||
<a href="#" id="popup-closer" class="ol-popup-closer"></a> | ||
<div id="popup-content"></div> | ||
</div> | ||
</div> | ||
<script src="resources/qgis2web_expressions.js"></script> | ||
<script src="resources/polyfills.js"></script> | ||
<script src="./resources/functions.js"></script> | ||
<script src="./resources/ol.js"></script> | ||
<script src="./resources/ol-layerswitcher.js"></script> | ||
<script src="layers/Batiments_0.js"></script> | ||
<script src="styles/Batiments_0_style.js"></script> | ||
<script src="./layers/layers.js" type="text/javascript"></script> | ||
<script src="./resources/Autolinker.min.js"></script> | ||
<script src="./resources/qgis2web.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
var wms_layers = []; | ||
|
||
var format_Batiments_0 = new ol.format.GeoJSON(); | ||
var features_Batiments_0 = format_Batiments_0.readFeatures(json_Batiments_0, | ||
{dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'}); | ||
var jsonSource_Batiments_0 = new ol.source.Vector({ | ||
attributions: ' ', | ||
}); | ||
jsonSource_Batiments_0.addFeatures(features_Batiments_0); | ||
var lyr_Batiments_0 = new ol.layer.Vector({ | ||
declutter: false, | ||
source:jsonSource_Batiments_0, | ||
style: style_Batiments_0, | ||
popuplayertitle: "Batiments", | ||
interactive: true, | ||
title: 'Batiments<br />\ | ||
<img src="styles/legend/Batiments_0_0.png" /> - 1866<br />\ | ||
<img src="styles/legend/Batiments_0_1.png" /> 1866 - 1879<br />\ | ||
<img src="styles/legend/Batiments_0_2.png" /> 1880 - 1899<br />\ | ||
<img src="styles/legend/Batiments_0_3.png" /> 1900 - 1917<br />\ | ||
<img src="styles/legend/Batiments_0_4.png" /> 1918 - 1934<br />\ | ||
<img src="styles/legend/Batiments_0_5.png" /> 1935 - 1943<br />\ | ||
<img src="styles/legend/Batiments_0_6.png" /> 1944 - 1959<br />\ | ||
<img src="styles/legend/Batiments_0_7.png" /> 1960 - 2024<br />' | ||
}); | ||
var group_frame = new ol.layer.Group({ | ||
layers: [lyr_Batiments_0,], | ||
fold: "open", | ||
title: "frame"}); | ||
|
||
lyr_Batiments_0.setVisible(true); | ||
var layersList = [group_frame]; | ||
lyr_Batiments_0.set('fieldAliases', {'fid': 'fid', 'ID_UEV': 'ID_UEV', 'CIVIQUE_DE': 'CIVIQUE_DE', 'CIVIQUE_FI': 'CIVIQUE_FI', 'NOM_RUE': 'NOM_RUE', 'SUITE_DEBU': 'SUITE_DEBU', 'MUNICIPALI': 'MUNICIPALI', 'ETAGE_HORS': 'ETAGE_HORS', 'NOMBRE_LOG': 'NOMBRE_LOG', 'ANNEE_CONS': 'ANNEE_CONS', 'CODE_UTILI': 'CODE_UTILI', 'LETTRE_DEB': 'LETTRE_DEB', 'LETTRE_FIN': 'LETTRE_FIN', 'LIBELLE_UT': 'LIBELLE_UT', 'CATEGORIE_': 'CATEGORIE_', 'MATRICULE8': 'MATRICULE8', 'SUPERFICIE': 'SUPERFICIE', 'SUPERFIC_1': 'SUPERFIC_1', 'NO_ARROND_': 'NO_ARROND_', }); | ||
lyr_Batiments_0.set('fieldImages', {'fid': 'TextEdit', 'ID_UEV': 'TextEdit', 'CIVIQUE_DE': 'TextEdit', 'CIVIQUE_FI': 'TextEdit', 'NOM_RUE': 'TextEdit', 'SUITE_DEBU': 'TextEdit', 'MUNICIPALI': 'TextEdit', 'ETAGE_HORS': 'TextEdit', 'NOMBRE_LOG': 'TextEdit', 'ANNEE_CONS': 'TextEdit', 'CODE_UTILI': 'TextEdit', 'LETTRE_DEB': 'TextEdit', 'LETTRE_FIN': 'TextEdit', 'LIBELLE_UT': 'TextEdit', 'CATEGORIE_': 'TextEdit', 'MATRICULE8': 'TextEdit', 'SUPERFICIE': 'TextEdit', 'SUPERFIC_1': 'TextEdit', 'NO_ARROND_': 'TextEdit', }); | ||
lyr_Batiments_0.set('fieldLabels', {'fid': 'no label', 'ID_UEV': 'no label', 'CIVIQUE_DE': 'no label', 'CIVIQUE_FI': 'no label', 'NOM_RUE': 'no label', 'SUITE_DEBU': 'no label', 'MUNICIPALI': 'no label', 'ETAGE_HORS': 'no label', 'NOMBRE_LOG': 'no label', 'ANNEE_CONS': 'no label', 'CODE_UTILI': 'no label', 'LETTRE_DEB': 'no label', 'LETTRE_FIN': 'no label', 'LIBELLE_UT': 'no label', 'CATEGORIE_': 'no label', 'MATRICULE8': 'no label', 'SUPERFICIE': 'no label', 'SUPERFIC_1': 'no label', 'NO_ARROND_': 'no label', }); | ||
lyr_Batiments_0.on('precompose', function(evt) { | ||
evt.context.globalCompositeOperation = 'normal'; | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.