Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Re-introduce search for coordinates in ol.Feature Array #1434

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix codacy warning
fschoelzel committed Jan 24, 2025
commit 41ea6682afc025ba688fce642c07bd4d0362d46e
4 changes: 2 additions & 2 deletions Resources/Public/JavaScript/PageView/Utility.js
Original file line number Diff line number Diff line change
@@ -648,8 +648,8 @@ dlfUtils.scaleToImageSize = function (features, imageObj, width, height, optOffs
/**
* Search a feature collection for a feature with the given coordinates
* @param {Array.<ol.Feature>} featureCollection
* @param {string} coordinates
* @return {Array.<ol.Feature>|undefined}
* @param {string} coordinates for highlighting
* @returns {Array.<ol.Feature>|undefined}
*/
dlfUtils.searchFeatureCollectionForCoordinates = function (featureCollection, coordinates) {
var features = [];