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

Merge branch 'redmine-issue/14444' into 'develop'

REDMINE_ISSUE-14444

See merge request !447
parents 81f656f6 a3a4d53d
No related branches found
No related tags found
No related merge requests found
...@@ -561,7 +561,12 @@ const mapService = { ...@@ -561,7 +561,12 @@ const mapService = {
</div> </div>
${author} ${author}
`; `;
const featureId = feature.getProperties ? feature.getProperties().feature_id || feature.getId() : feature.id; //* feature.id was used with leaflet, with ol feature.getId replace it, but keeping it as fallback can prevent regression const featureId =
feature.getId() ?
feature.getId() :
feature.getProperties ?
feature.getProperties().feature_id :
feature.id;
return { html, feature_type, featureId }; return { html, feature_type, featureId };
}, },
......
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