Introduction: We have a web based application developed using core php ,mysql database and bootstrap . It is uses to distribute/view/add annotation on, pdf files. PDF viewer is added using simple embed method, whereas pdf viewer+ Annotation tool is added using opensource javascript library with the help of iframe. Problem: 1. Misplacement of annotations in pdf after rotating pdf document. Description: if pdf is in default portrait mode then annotation works correctly. if we rotate the pdf clockwise or anticlockwise or in any direction, annotation will be misplaced untill we correct the rotation to original state. Ideal solution: we should be able to place annotation at correct position after any type of rotation. Solution hint: while rotating the document canvas of the annotaion layer is not rotating as per rotation of the page, so either we have to rotate the canvas layer or find the correct postion/coordinates of the annotation with reference to the rotated page. 2. Get rid of save button After adding the annotations we have to hit the save button to save annotations before going to next floorplan or submit. Ideal Solution: removed save button Solution Hint: capture the change event in local storage of the browser and then trigger the save method to save annotation into database. Step to check rotation issue Step-1: Use the docs folder and copy it to your apache/htdocs Step-2: browse to index.html download two zip files, docs is original library used for annotaion iframe-source is the php version of that annotation used in our portal. http://122.170.0.53:8085/rsh/test/