Removing stub method, and use the real method in Popup.

This commit is contained in:
ahocevar
2012-06-23 16:15:57 +02:00
parent ad8568a259
commit 026b60826e
3 changed files with 20 additions and 16 deletions
-10
View File
@@ -492,16 +492,6 @@ ol.Map.prototype.zoomOut = function() {
this.setZoom(this.zoom_-1);
};
/**
* @param {ol.geom.Point} loc the location being requested
* @returns {Array} the position of the location in pixel space
*/
ol.Map.prototype.getViewportPosition = function(loc) {
//TODO: delegate this to the renderers
//stub for now to get popups working
return [200, 300];
};
/**
* @returns {Element} the map overlay element
*/