Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// If we have a next viewport action
if (updateMapViewport) {
this._updateMapViewport({}, updateMapViewport);
}
// Initial actions
this._updateConvenienceHandlers({}, this.props);
this._updateMapOptions({}, this.props);
this._updateFeatureState({}, this.props);
// Listen to some of the dispatched events
this._listenStateEvents();
// Add in event listeners for the container
elementResizedEvent(this.container, this._resizedContainer);
}