readout data from popup window

3688
2
03-06-2015 01:44 PM
CONABIONC_for_Knowledge_and_Us
Occasional Contributor

Dear all,

Is there a way to read data from a popup window and write it, e.g. into a form?

For example: In a city plan with parcels, the user clicks on a parcel and the popup window opens with information on this parcel. Now I think about a “Fill in” button that allows writing the attributes of the parcel selected into a form.

Any hints?

Thank you & best regards,

Flo

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Flo,

Sure you can use:

var attrObj = map.infoWindow.getSelectedFeature().attributes;  
CONABIONC_for_Knowledge_and_Us
Occasional Contributor

Thank you for the tip, Robert!

0 Kudos