@planet/maps 10.1.0-dev.1718184401641 → 10.1.0-dev.1718185388684

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Map.js +2 -2
  2. package/package.json +1 -1
package/Map.js CHANGED
@@ -29,8 +29,8 @@ class Map extends Component {
29
29
 
30
30
  this.targetRef = createRef();
31
31
 
32
- const {id, style, className, innerRef, ...mapProps} = props;
33
- this.map = new OLMap({});
32
+ const {id, style, className, innerRef, options, ...mapProps} = props;
33
+ this.map = new OLMap({...options});
34
34
  if (innerRef) {
35
35
  if (typeof innerRef === 'function') {
36
36
  innerRef(this.map);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planet/maps",
3
- "version": "10.1.0-dev.1718184401641",
3
+ "version": "10.1.0-dev.1718185388684",
4
4
  "description": "Declarative mapping components for React",
5
5
  "type": "module",
6
6
  "repository": {