Skip to content

Commit

Permalink
Merge pull request #143 from g3w-suite/fix-issue-geometry-fields-on-f…
Browse files Browse the repository at this point in the history
…eature

Fix `geometryFields` circular dependency found between `core/utils/geo.js` and `core/layers/features/feature.js`
  • Loading branch information
Raruto authored Aug 16, 2022
2 parents 380a406 + b61a61e commit 1a591c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/core/layers/features/feature.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import CONSTANT from '../../../constant';
const geometryFields = CONSTANT.GEOMETRY_FIELDS;
const {uniqueId} = require('core/utils/utils');
const {geometryFields} = require('core/utils/geo');

const Feature = function(options={}) {
ol.Feature.call(this);
this._uid = uniqueId();
Expand Down

0 comments on commit 1a591c8

Please sign in to comment.