This issue is caused by this line:
|
if (this.options.initial_zoom) { |
The if condition inappropriately bypasses setting the initial zoom to index 0 due to the falsy nature of JavaScript and should, instead, be something like:
if (this.options.initial_zoom !== undefined && this.options.initial_zoom !== null)