Points attribute editing

527
3
03-14-2012 12:42 PM
BojanBukovic
New Contributor
Hi,

I would like to implement attribute editing for point features. There is a nice sample "AttributeEditor" for editing attributes but polygon layer is used in it. There is no problem by selecting a polygon feature on the map. But, what about point layer? I cannot select a point on the map.
There is also a nice sample "IdentifyTask" where buffer is created around the clicked point.
I can think of two options:
a) take "IdentifyTask" concept and modify result list in that way that click on the result would open the edit form.
b) take "AttributeEditor" concept but somehow I should implement "find nearest to click point".

I think option a is better than option b, but I really hope there is another simpler way to solve the issue.

Have any of you solved this?

Regards
0 Kudos
3 Replies
MarkHorsell
New Contributor
Hi,
Did you find a solution? Not possible?
0 Kudos
AxelBronder1
New Contributor
Your tolerance is probably too narrow... or your fingers too fat 😉

int[] uids = gLayer.getGraphicIDs(x, y, 20); //Last element=tolerance
0 Kudos
DaniSetiawan
New Contributor
Hi, have any of you solved this? I am facing the same problem right now. If you have solved it, can you help me?

Regards
0 Kudos