@abi-software/flatmapvuer 0.3.13-beta-1 → 0.3.13-beta-2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.3.13-beta-1",
3
+ "version": "0.3.13-beta-2",
4
4
  "main": "./dist/flatmapvuer.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -696,14 +696,14 @@ export default {
696
696
  this.$emit("ready", this);
697
697
  this.loading = false;
698
698
  if (this._stateToBeSet)
699
- this.restoreMapState(this._viewportToBeSet);
699
+ this.restoreMapState(this._stateToBeSet);
700
700
  else {
701
701
  this.restoreMapState(state);
702
702
  }
703
703
  });
704
704
  } else if (state) {
705
705
  if (this.entry == state.entry) {
706
- this._stateToBeSet = { viewport: state.viewport, searchTerm: searchTerm };
706
+ this._stateToBeSet = { viewport: state.viewport, searchTerm: state.searchTerm };
707
707
  if (this.mapImp && !this.loading)
708
708
  this.restoreMapState(this._stateToBeSet);
709
709
  }