I am trying to show squares on images using the Comment API, when I try to create the comment from the web interface of the drive and mark a region the square shows up, but when I try it using the API nothing is shown except a comment, there is no square which I provided as a rect to the API.
this is what I am trying to use as an anchor:
{'r': 'head', 'a': [{'rect': {'x': 0.0, 'y': 0.0, 'w': 100.0, 'h': 100.0, 'mw': 480.0, 'mh': 216.0}}]}"
but when I do so it doesn't work at all ?
after couple of painful hours and headaches I got to a clue where the anchor of the Web created comment is [null,[null,[0.4425,0.225,0.60625,0.3716666666666667]]] and the API created comment has the above mentioned anchor. can anyone help me with the problem ?
There seems to be a bug from Google's side
It has already been reported at Public Issue Tracker.
I suggest you to give it a "star" to increase visibility and hope that it will get fixed soon.