Skip to content
Snippets Groups Projects
Commit 240df080 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'redmine-issues/14719' into 'develop'

REDMINE_ISSUE-14719| Affichage pop-up au clic sur signalement - Ne fonctionne plus

See merge request !481
parents 5bd8a446 b42c3efd
No related branches found
No related tags found
1 merge request!481REDMINE_ISSUE-14719| Affichage pop-up au clic sur signalement - Ne fonctionne plus
...@@ -144,7 +144,8 @@ const mapService = { ...@@ -144,7 +144,8 @@ const mapService = {
layerFilter: (l) => l === this.mvtLayer || this.olLayer layerFilter: (l) => l === this.mvtLayer || this.olLayer
}); });
//* prepare popup content //* prepare popup content
if (features && features.length > 0 && features[0].id_) { if (features && features.length > 0 &&
(features[0].properties_ && features[0].properties_.feature_id || features[0].id_)) {
const popupContent = this._createContentPopup(features[0], this.featureTypes); const popupContent = this._createContentPopup(features[0], this.featureTypes);
this.content.innerHTML = popupContent.html; this.content.innerHTML = popupContent.html;
this.overlay.setPosition(event.coordinate); this.overlay.setPosition(event.coordinate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment