MDonnellyesriaustralia-com-au-esridist

Displaying area attribute

Discussion created by MDonnellyesriaustralia-com-au-esridist Employee on Dec 15, 2010
Hi,

I'm using a template picker and I want to display the area of the polygon that the user creates as an attribute in the infoWindow that pops up after feature creation.

By default, all the attributes I define for the feature class appear but I cannot access the SHAPE.area field that holds the information I want to display.

Currently I'm using a 'onBeforeApplyEdits' event to populate certain attributes for display. I have created a my own 'Area' attribute but now I want to populate it with the correct value.

As a work around I have calculated the value using callbacks but getting the value returned is not really working for me.

Does anyone know of a way to do this?

Mark

Outcomes