GithubHelp home page GithubHelp logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Can you setup a test page to look at that shows the problem?

Original comment by [email protected] on 31 Aug 2010 at 1:42

  • Changed state: NeedsMoreInfo

from google-maps-utility-library-v3.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
the Clusterer is capable to handle up to 5000 markers in IE8 on my laptop which 
is not the fastest, but yea it highly depends on how fast the client machine 
is. The Clusterer has to iterate over all markers if it calculates the 
clusters, there are some recursive iterations etc which at some point may take 
some time.

I did a lot of work and research of how to get things fast enough for one of my 
projects, attached you'll see an example implementation of a map and marker 
pooled view with multiple map/tabs and over 5000markers on each map. This was 
an early implementation so please don't blame me for errors or what not, I did 
a lot more implementations like this but at the end I came to the conclusion 
that JavaScript on the Client is NOT capable to handle that amount of markers. 
That’s why I've implemented a Ajax service for my project to do all the 
clustering and marker management etc... and yes this is now very fast and can 
easily handle 100000+markers ^^
But anyway, may be the code can help you with some problems...

JavaScript has enormous performance problems when it comes to recursive 
function calls and complex calculation together with large amount of data. 
Especially Internet Explorer has big problems...

Original comment by [email protected] on 2 Sep 2010 at 11:25

Attachments:

from google-maps-utility-library-v3.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
I've notice that on IE7 is very slow. Even if the zoom level is more than the 
maximum zoom and no clustering happens, the Marker drawing is slow. And I have 
less then 20 points.

Another strange thing is that the markercluster.js from the svn repository runs 
slower that the one used for the online examples (no, it's not the same in the 
example folder on svn).

I've also seen that there is a porting of ClusterMarker here: 
http://test.3dflat.com/clustermarker/index.php.
I do not like it but it seems to run smooth on IE7.

Original comment by [email protected] on 21 Oct 2010 at 7:00

from google-maps-utility-library-v3.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Adding
   that.redraw();
after
   that.resetViewport();
in 
MarkerClusterer constructor make everthing smoother (because to render the 
markers it doesn't need to wait 'idle').

Original comment by [email protected] on 22 Oct 2010 at 1:52

from google-maps-utility-library-v3.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Are you guys still seeing issues? I've done a number of updates over the last 
few months.

Original comment by [email protected] on 23 Mar 2011 at 10:45

from google-maps-utility-library-v3.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
I'm still seeing issues on IE7/8 and on slower CPUs. When over 1000 markers on 
a map it's wise to pre-filter the markers based on whether they are in the map 
bounds and only pass them to the clusterer if they are.

Original comment by [email protected] on 23 Apr 2011 at 4:22

from google-maps-utility-library-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.