Robert,
I tried using the new code however it doesn't have the mappoint preselected when the app starts. Then, if I click the mappoint tool and try to select a feature on the map it draws a blue point, as in the edraw widget. It draws as many points as you click and it won't select any of the features. Thanks.
Stuart