     // Associated Data
     private var requirementObjectId:Number; //The object id to impose requirements
 	private var requirementObjectType:String; //One of the REQUIREMENTTYPES defined in constants
+	private var edMapOpened:Boolean; 
 
     // Data For GUI
     [Bindable] public var requirements:ArrayCollection;

    public function RequirementsEditorView()
    {
        super();
        requirements = new ArrayCollection();
        reqTypes = new ArrayCollection();
        this.addEventListener(FlexEvent.CREATION_COMPLETE, handleInit);

			//requirementsEditorMap.setPlacemarkLocation(pm.latitude, pm.longitude);
        }

		if(!edMapOpened){
        	this.parent.addChild(requirementsEditorMap);
			edMapOpened = true;
		}
		
        // Need to validate the display so that entire component is rendered
        requirementsEditorMap.validateNow();

