AnsweredAssumed Answered

Performance problems with 20.000 Points

Question asked by dwiedave on Nov 10, 2016
Latest reply on Nov 21, 2016 by fcbassongis

Hello Everybody,

I have to display many points on a map and I wanted to use the ArcGIS Javascript API (v4.1) for this job because I want to change some basemaps and I think it will be suited best for this job.
If you click on the link you can see that it takes really long to load up all the points on the map.

 

ArcGIS v4.1 20.000 Points Test

I created the same map in google maps to get a performance comparison:

 

Google Maps API 20.000 Points Test

 

It is way faster than ArcGIS but I am limited to Google Maps which is not acceptable in my case.

(You can see the used Javascript code in both cases in the source code of the site, but if you need it here, let me know)


I found some ways to achieve better performance: 

Clustering! But I couldn't find any documentation on how to cluster in API 4.0 or 4.1 ... just an example in the old API docs (3.18)

Then the next question:

I have to create lines between some of the points (up to 100 connected points in several paths) 

Is it still possible to cluster those and disable the clustering at a vertain zoom level?

I hope some of you can help me

Best regards

David

Outcomes