diff --git a/src/ol/map.js b/src/ol/map.js index 8c890e1098..6dabae87e5 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -514,7 +514,9 @@ ol.Map.prototype.getRenderer = function() { /** - * Get the element in which this map is rendered. + * Get the target in which this map is rendered. + * Note that this returns what is entered as an option or in setTarget: + * if that was an element, it returns an element; if a string, it returns that. * @return {Element|string|undefined} Target. * @todo stability experimental */