[ol.popup] make the API tests pass in advanced mode

This commit is contained in:
Éric Lemoine
2012-06-23 21:20:15 +02:00
parent 08d6e35252
commit c7e799ebf4
3 changed files with 18 additions and 2 deletions

View File

@@ -128,3 +128,11 @@ ol.Popup.prototype.template = function(opt_arg){
}
};
/**
* Open the popup.
* @export
* @param {ol.Feature|ol.Loc} opt_arg feature or location for the anchor
*/
ol.Popup.prototype.open = function(opt_arg) {
this.doOpen(opt_arg);
};