Doesn't support negative zoom levels (Cluster icons don't show up/disappears)
See original GitHub issueHi,
I am using an imageOverlay map for my indoor floorplan project with bounds set to the image exact resolution. In the example below it is 2003px*1203px, but it can be higher. I encountered following issues:
- The cluster icon doesn’t show up when the map is loaded.
- The cluster icon and the non-clustered marker icon can disappear and show up after zooming (mostly on low zoom levels).
- The icon’s positioning on the map is not correct at some zoom levels (mostly low zoom).
- After “playing” with zoom for some time a second cluster icon can appear so you can see 2 clusters for the same markers. Though this happens very rarely and i couldn’t reproduce this issue intentionally.
If i change the bounds from
var bounds = [[0,0], [1203, 2003]]
to smaller values like
var bounds = [[0,0], [120.3, 200.3]]
all seem to be working correctly.
But i would like to keep the big bounds for my project…
Please take a look at the example: https://jsfiddle.net/8voh7rLs/ For this example i used Leaflet 1.0.0-beta.2 and Markercluster 1.0.0-rc.1.0
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Mapbox GL JS some symbols missing on different zoom ...
But I noticed that on certain zoom levels, some of the symbols in a layer would disappear and it will then reappear again...
Read more >Solved: Collector feature disappearing when zoomed
There are two settings: the zoom level for them to show up and the zoom level for them to disappear. It is the...
Read more >Controls | Maps JavaScript API
The Zoom control displays "+" and "-" buttons for changing the zoom level of the map. This control appears by default in the...
Read more >Layers | Style Specification | Mapbox GL JS
At zoom levels equal to or greater than the maxzoom, the layer will be hidden. ... of the map view that does not...
Read more >Control the Appearance of Marks in the View - Tableau
All marks have a default color, even when there are no fields on Color on the ... uses custom shapes that you don't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed now. Please try the latest git, or grab a built version from below and report back https://gist.github.com/danzel/986636912dd3cde1e4f3c6ecf6908c7e
If this works then I’ll do a new build.
It seems to work. Thanks.