Hallo
I have Features store in an InMemoryFeatureLayer. the user can edit the features, and in that point i move the edited features from to the EditOverlay.
The use can also set the visibility mode of the edited features.
My question is how can i make the features in the edit layer invisible.
I tried to do it by using the following code, which did make the features invisible but the "edit tool" on the shapes are visible (see the attached
image).
how can i make them transparent as well
if(IsInEdit)
{
if (_isVisible)
{
if (map.EditOverlay.EditShapesLayer.FeatureIdsToExclude.Contains(this.ID))
map.EditOverlay.EditShapesLayer.FeatureIdsToExclude.Remove(this.ID);
}
else
{
if (!map.EditOverlay.EditShapesLayer.FeatureIdsToExclude.Contains(this.ID))
map.EditOverlay.EditShapesLayer.FeatureIdsToExclude.Add(this.ID);
}
map.Refresh(map.EditOverlay);
}