In swing java
You had memory or performance issues displaying millions of points?
You can use GraphicLayer to display data with latitude and longitude.
// construct spatial reference
SpatialReference spatialReference = SpatialReference.create(102100)
// construct symbol
MarkerSymbol markerSymbol = new PictureMarkerSymbol(ImageLoader.loadImage("icons/triange_red.png"));
for (int i = 0; i < points; i++) {
//
Point point = GeometryEngine.project(longitude, latitude, spatialReference); graphicsLayer.addGraphic(new Graphic(point, markerSymbol));
}
If you need a visual representation, can you explain how you expect them to be distinguishable from one another?
Something like this.
I would probably summarize the points based upon the underlying polygons, then return the centroid of that polygon with the count of the points attributed to each polygon used to symbolize the point. I presume that the image on the right wasn't done that way in an Arc* environment?
No.
I try it
I moved this from the Android location to the Java location as Swing is a Java technology.
Performance issue,
Thanks for your answer.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.