Skip to content

Commit

Permalink
Merge pull request #2578 from ger-benjamin/draw_accuracy
Browse files Browse the repository at this point in the history
FeatureHash - Use same accuracy as in cgxp
  • Loading branch information
ger-benjamin authored May 2, 2017
2 parents 2f98a74 + 5d394f0 commit 143e8ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ol-ext/format/featurehash.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ ngeo.format.FeatureHash.CHAR64_ =
* @const
* @private
*/
ngeo.format.FeatureHash.ACCURACY_ = 1;
ngeo.format.FeatureHash.ACCURACY_ = 0.1;


/**
Expand Down
1 change: 1 addition & 0 deletions test/spec/ol-ext/format/featurehash.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('ngeo.format.FeatureHash', function() {
var fhFormat;

beforeEach(function() {
ngeo.format.FeatureHash.ACCURACY_ = 1; // Easier to test
fhFormat = new ngeo.format.FeatureHash();
});

Expand Down

0 comments on commit 143e8ab

Please sign in to comment.