<\/P>
Eu fiz um post de blog semelhante<\/A> não faz muito tempo, mas pensei em compartilhar isso aqui. O agrupamento de dados pontuais é uma maneira bem interessante de lidar com a exibição de grandes quantidades de dados em um mapa de forma simples. Essa capacidade é um recurso básico nas APIs Flex e Silverlight da Esri, mas a JS API não recebeu o mesmo tipo de atenção.<\/P><\/P>
Sinta-se à vontade para registrar problemas ou contribuir. Atualmente estou testando algumas opções para tentar acelerar alguns gargalos e, em geral, refatorar o código.<\/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
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.