Skip to content

Commit

Permalink
Merge branch 'feat/sinp' into feat/sinp-paca
Browse files Browse the repository at this point in the history
  • Loading branch information
jpm-cbna committed May 7, 2024
2 parents f165150 + 5eff19a commit 876c16f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions atlas/static/mapGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,6 @@ function onEachFeaturePointLastObs(feature, layer) {
popupContent +
"</br> <a href='" +
configuration.URL_APPLICATION +
<<<<<<< HEAD

=======
>>>>>>> 8da0f00 (fix: show right taxons names for municipality default meshes map view)
language +
"/espece/" +
feature.properties.cd_ref +
Expand Down Expand Up @@ -550,16 +546,9 @@ function buildSpeciesEntries(taxons) {
}

function onEachFeatureMailleLastObs(feature, layer) {
<<<<<<< HEAD
popupContent =
"<b>Espèces observées dans la maille: </b> <ul> " +
printEspece(feature.properties.list_taxon, feature.properties.list_cdref) +
"</ul>";
=======
title = `${feature.properties.taxons.length} espèces observées dans la maille &nbsp;: `;
rows = buildSpeciesEntries(feature.properties.taxons);
popupContent = `<b>${title}</b><ul>${rows}</ul>`;
>>>>>>> 8da0f00 (fix: show right taxons names for municipality default meshes map view)

layer.bindPopup(popupContent, { maxHeight: 300 });
}
Expand Down

0 comments on commit 876c16f

Please sign in to comment.