No typecast needed
This commit is contained in:
@@ -1430,10 +1430,10 @@ ol.Map.createOptionsInternal = function(options) {
|
|||||||
|
|
||||||
var deviceOptions = goog.isDef(options.deviceOptions) ?
|
var deviceOptions = goog.isDef(options.deviceOptions) ?
|
||||||
options.deviceOptions :
|
options.deviceOptions :
|
||||||
/** @type {olx.DeviceOptions} */ ({
|
{
|
||||||
loadTilesWhileAnimating: true,
|
loadTilesWhileAnimating: true,
|
||||||
loadTilesWhileInteracting: true
|
loadTilesWhileInteracting: true
|
||||||
});
|
};
|
||||||
|
|
||||||
var interactions;
|
var interactions;
|
||||||
if (goog.isDef(options.interactions)) {
|
if (goog.isDef(options.interactions)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user