proximiio-js-library 1.8.1 → 1.8.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.
@@ -238,7 +238,9 @@ var Map = /** @class */ (function () {
238
238
  center = [place.location.lng, place.location.lat];
239
239
  }
240
240
  style.center = center;
241
- this.defaultOptions.mapboxOptions.center = style.center;
241
+ if (this.defaultOptions.mapboxOptions) {
242
+ this.defaultOptions.mapboxOptions.center = style.center;
243
+ }
242
244
  if (this.defaultOptions.zoomLevel) {
243
245
  style.zoom = this.defaultOptions.zoomLevel;
244
246
  }