<\/P>
Hice una entrada de blog similar<\/A> no hace mucho, pero pensé que podría compartir esto aquí. El clustering de datos puntuales es una forma bastante ingeniosa de poder manejar la visualización de grandes cantidades de datos en un mapa de manera sencilla. Esta capacidad es un elemento básico en las APIs Flex y Silverlight de Esri, pero la API JS no ha recibido el mismo tipo de atención.<\/P><\/P>
Por favor siéntete libre de registrar problemas o contribuir. Actualmente estoy probando algunas opciones para intentar acelerar algunos cuellos de botella y generalmente refactorizar el 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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.