diff --git a/src/mediatypes/openlayers/openlayers.viewer.js b/src/mediatypes/openlayers/openlayers.viewer.js index 8043f93..9d811fe 100644 --- a/src/mediatypes/openlayers/openlayers.viewer.js +++ b/src/mediatypes/openlayers/openlayers.viewer.js @@ -185,7 +185,9 @@ annotorious.mediatypes.openlayers.Viewer.prototype.removeAnnotation = function(a * @return {Array.} the annotations */ annotorious.mediatypes.openlayers.Viewer.prototype.getAnnotations = function() { - + return goog.array.map(this._overlays, function(overlay) { + return overlay.annotation; + }); } /**