Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not make a strict comparison on showSingleFeatureById method.

  • Loading branch information...
commit 413ca11c20c2f38f76089f58d247911897790874 1 parent d7214b1
@jorix authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/FeaturePopups.js
View
4 lib/FeaturePopups.js
@@ -2645,13 +2645,13 @@ OpenLayers.Control.FeaturePopups.Layer = OpenLayers.Class({
for (ii = 0, len2 = cFeature.cluster.length;
ii < len2; ii++) {
feature = cFeature.cluster[ii];
- if (this.getFeatureId(feature) === featureId) {
+ if (this.getFeatureId(feature) == featureId) {
found = true;
break;
}
}
} else {
- found = this.getFeatureId(feature) === featureId;
+ found = this.getFeatureId(feature) == featureId;
}
// Don't try to show a cluster as a single feature,
// templates.single does not support it.
Please sign in to comment.
Something went wrong with that request. Please try again.