I have problems doing the following in an app. The app allows the user to either choose a point on the map or choose a point and draw a polygon on the map. If the user only chooses a point a default trade area will be made around the point and will be used as the 'universe'. However if the user selects a point and draws a polygon the polygon will be used as the universe and the point selected will be shown in output as well.
I though of the following but cant make it work.