<\/P>
Nedávno jsem vytvořil podobný blogový příspěvek<\/A>, ale rozhodl jsem se to zde sdílet. Clustering bodových dat je docela šikovný způsob, jak jednoduše zobrazit velké množství dat na mapě. Tato funkce je základní součástí Flex a Silverlight Esri API, ale JS API nedostalo stejnou pozornost.<\/P><\/P>
Prosím neváhejte hlásit problémy nebo přispívat. Momentálně testuji některé možnosti pro zrychlení úzkých míst a obecně refaktoruji kód.<\/P><\/BODY><\/HTML>
This looks good.. but I can't get the demo working properly.
3 questions:
1. Your demo link asks for a login, after logging in the map focuses on Chicago but no points load. Any ideas?
2. Does your algorithm cluster and draw only the points visible on the screen? I think the basic esri cluster layer seems to make clusters for the entire map every time you zoom in.
3. Also, what does the polygon geometries demo do?
Thanks for the questions!
I just fixed the demos and updated them to use the latest 3.11 Esri JS API.
odoe/esri-clusterfeaturelayer · GitHub
Here is a current working demo using about 2,300 points.
Cluster
Like I said, the slowest part is actually downloading the data, clustering is pretty quick.
Please provide any feedback or report any bugs, thanks!
can you provide me demo using about 60 lac points
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Nový zde? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.