question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'getMinZoom' of null

See original GitHub issue

I just switched from 1.0.2 (I think) to 1.0.3, when zooming in and out of my map, I get this (during the 3rd or 4th zoom, not right away)

Uncaught TypeError: Cannot read property ‘getMinZoom’ of null at e._recursivelyRemoveChildrenFromMap (leaflet.markercluster-src.js:1712) at leaflet.markercluster-src.js:1349

That line changed from

this._recursively(previousBounds, -1, zoomLevel - 1,

to

this._recursively(previousBounds, this._group._map.getMinZoom() - 1, zoomLevel - 1,

Leaflet is either 1.0.2 or 1.0.3, browser is Chrome latest.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
danzelcommented, Mar 14, 2017

Woops! Doing it now…

1reaction
danzelcommented, Mar 13, 2017

Thanks, 1.0.4 released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property 'getMinZoom' of null
What behaviour I'm expecting and which behaviour I'm seeing. Browser's console displays the error "Uncaught TypeError: Cannot read property ' ...
Read more >
Uncaught TypeError: Cannot read property 'name' of null
Uncaught TypeError : Cannot read property 'name' of null. Here's my code to create the info window: function createMarker(place) { var placeLoc ...
Read more >
Cannot read property 'scale' of null" after dragging the map
Occasionally the exception "Uncaught TypeError: Cannot read property 'scale' of null" is thrown, but for the most part no exceptions show up in...
Read more >
Uncaught TypeError: Cannot read properties of null...
On hard refreshing page map is not visible. I am integrating ArcGIS in my angular project. And I am using It throws error....
Read more >
OpenLayers v7.2.2 API - Class: Map
If this is not defined, a map with no layers will be rendered. ... the second is the layer of the feature and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found