Skip to content

Commit

Permalink
Use ol#6.6.x version as there is a bug with the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Sep 21, 2021
1 parent 936d3c6 commit 8eab985
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,7 +17,7 @@
"url": "git@github.com:eea/volto-openlayers-map.git"
},
"dependencies": {
"ol": "^6.5.0"
"ol": "6.6.x"
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.5",
Expand Down
2 changes: 0 additions & 2 deletions src/Map/Map.jsx
Expand Up @@ -85,8 +85,6 @@ class Map extends React.Component {
let controls = findChild(this.props.children, Controls) || {};
let interactions = findChild(this.props.children, Interactions) || {};

console.log('HERE', controls.props);

options.controls = control.defaults(controls.props).extend(this.controls);
options.interactions = interaction
.defaults(interactions.props)
Expand Down

0 comments on commit 8eab985

Please sign in to comment.