Removing stub method, and use the real method in Popup.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user