Comments (6)
It might be a long shot, but do you have some markers with the 0, 0 values as the position ? I've got the same issue and made a PR for it #892.
0_0
I filtered out all markers with lat=0 and long=0 and it worked.
from js-markerclusterer.
Just curious - are there any "irregularities" (size or bounds) with the dataset for the specific client?
from js-markerclusterer.
Just curious - are there any "irregularities" (size or bounds) with the data for the customer that the clusterer does not function?
Bounds? No. The number of markers being manipulated is less than other clients. Overall memory size? Unknown. One thing that I do notice is that the map for the problem client loads a lot more slowly than the map for other clients. I will check.
from js-markerclusterer.
I don't know if I am doing it correctly, but the memory allocation for the markers array in the Chrome "Memory" tab Allocation Timeline measurement looks to be about 2.5 times what it is for a client of similar number of markers (app. 60 MB versus app. 26MB)
To confirm I have the right number, how would you suggest I grab the memory size of the markers algorithm?
from js-markerclusterer.
You would need a memory profiler to verify. Sounds like there may be a lot more data associated with the markers for the specific client (just guessing -- would need a deeper dive into the data set).
From what I have noticed since Google maps "upgrade" to AdvancedMarker elements is that the number of markers that can be created (compared with "classic" markers) has gone down dramatically. For example, using "classic" markers, I was able to create 6 million markers on an older Windows 10 machine running an Intel i7 processor with 32GB of RAM. Using the same machine and test with advanced markers, Chrome becomes unresponsive at around the 260,000 markers, which leads me to think that the advanced markers are much more "memory heavy" than the classic markers (but Google would have to confirm this).
Also, there is an inherent flaw in the design of the clusterer because it uses map markers as input - which is a colossal waste of memory - as relatively few "map markers" are displayed in the map viewport relative to the overall (large) dataset. This is illustrated in a test I created regarding Creating data points vs creating Google map markers.
from js-markerclusterer.
It might be a long shot, but do you have some markers with the 0, 0 values as the position ? I've got the same issue and made a PR for it #892.
from js-markerclusterer.
Related Issues (20)
- Allow option of zooming in just enough so that the markers are unclustered, as opposed to zooming in just on the clustered markers HOT 2
- Angular support? HOT 2
- Export MarkerUtils class so it can be used for custom algorythms HOT 2
- is there any way for this to be an extension or some way for me to use it? HOT 1
- MarkerClusterer: unnecessary rerendering of clusters when nothing has changed HOT 1
- Property 'radius' does not exist on type 'SuperClusterViewportOptions' HOT 6
- The property 'setIcon' does not exist for the type 'Marker'. HOT 3
- Problems with versions > `2.5.0` HOT 3
- Clusters blinking on updating its markers HOT 2
- Cluster is added behind advanced marker which near to cluster location HOT 2
- Option to ignore hidden markers HOT 1
- feat(DefaultRenderer): custom color
- SuperClusterViewportAlgorithm at zoom 0-3 not working. HOT 1
- Calculate custom count in custom cluster icon HOT 2
- Named export 'MarkerClusterer' not found HOT 1
- Grid Clusterer updated ...
- Handle (0,0) coordinates for marker
- How do I implement the imagePath property in the latest version of the api? (I'm use AngularJS) HOT 1
- Hide or remove title on cluster hover
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-markerclusterer.