Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 9c62ac17 rédigé par Mattias DUPUIS's avatar Mattias DUPUIS
Parcourir les fichiers

fix affichage droite

parent 3a35b602
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -153,7 +153,14 @@ function getRandomColor(n) {
function refreshDisplay() {
listePluriPays = [];
if(listePluriPays.length > 0)
{
for(let pays of listePluriPays){
setLayerBasic(pays);
}
listePluriPays = []
}
pluriPays = false;
shownPoly.clearLayers();
allPoly.eachLayer(
function (layer) {
......@@ -243,6 +250,7 @@ function redefEachLayer() {
let isIN = false;
layer.on('click', function () {
if(pluriPays) {
if(listePluriPays.length == 1)
{
if(listePluriPays[0].feature.properties.idpays != layer.feature.properties.idpays)
......@@ -469,10 +477,6 @@ function hideInfos() {
}
}
function doc(element) {
return document.getElementById(element);
}
......@@ -483,10 +487,6 @@ function hideImportExport()
doc('export').style.display = "none";
}
function displaySlider(low) {
let myRange = document.querySelector('#slider');
let myNumber = document.querySelector('#number');
......@@ -528,10 +528,6 @@ function modifyNumberValue(){
}
}
doc('close').addEventListener('click', showRight)
function resizeFamily() {
......
......@@ -93,11 +93,11 @@ body {
}
#canvas {
position: absolute;
position: relative;
width:96%;
top: 41%;
left: 4%;
height: 55%;
top:50%;
left:4%;
height: 50%;
overflow-x: scroll;
margin:auto;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter