@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.
- package/Map.js +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);
|