Consistently handle not implemented methods

This commit is contained in:
Guillaume Beraudo
2017-01-31 09:21:01 +01:00
parent c9d33fb03a
commit 1c353061fe
4 changed files with 21 additions and 31 deletions

View File

@@ -489,7 +489,7 @@ ol.inherits(ol.source.Raster.Event, ol.events.Event);
* @override
*/
ol.source.Raster.prototype.getImageInternal = function() {
throw new Error('Not implemented');
return null; // not implemented
};