Hello
How do I change the symbology
I've an points that represent building these symbol may green or red after finished building scan
so how do I achieve that ???
Thanks in advance ...
Tero Rönkkö
Is it Graphics layer?
Get the id of the symbol you want to change and:
SimpleMarkerSymbol newMarker = new SimpleMarkerSymbol(Color.BLUE, 20, SimpleMarkerSymbol.STYLE.CIRCLE);
Graphic g = mGlObservation.getGraphic(i);
mGlObservation.updateGraphic(i, newMarker);
no it is an FeatureLayer
the id is that point id or id for symbol ???if it is for symbol not point how do I get the symbols and ID's
Graphic g = mGlObservation.getGraphic(i);mGlObservation.updateGraphic(i, newMarker);
what is the mGlObservation ??
It is the id of the point - and mGLObservation was something I forgot to mention, it is the name of the Graphicslayer.
That example changes symbol of single item.
Thanks Tero Rönkkö but this will update the point to be a circle how do I change it by special symbol ???
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.