From 737d7bee85d04ef421b4c15e7f03a7c507b1f53b Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 15 Apr 2019 10:25:12 +0200 Subject: [PATCH] Remove unnecessary type cast --- examples/bing.js | 4 ++-- examples/fillstyle.js | 4 ++-- examples/groundvectors.js | 4 ++-- examples/icon-position.js | 4 ++-- examples/image-static.js | 4 ++-- examples/imageWMS.js | 4 ++-- examples/kml.js | 4 ++-- examples/lazy.js | 4 ++-- examples/main.js | 4 ++-- examples/overlay.js | 4 ++-- examples/rotate.js | 4 ++-- examples/tracking.js | 4 ++-- examples/vectors.js | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/examples/bing.js b/examples/bing.js index 46210c312..908fdf9a4 100644 --- a/examples/bing.js +++ b/examples/bing.js @@ -23,9 +23,9 @@ const ol2d = new olMap({ ], controls: olControlDefaults({ attribution: true, - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/fillstyle.js b/examples/fillstyle.js index 75c2a8d33..916a0608b 100644 --- a/examples/fillstyle.js +++ b/examples/fillstyle.js @@ -66,9 +66,9 @@ const map = new olMap({ ], target: 'map2d', controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), view: new olView({ center: [-2e6, 1e6], diff --git a/examples/groundvectors.js b/examples/groundvectors.js index 586eb69e3..151d52013 100644 --- a/examples/groundvectors.js +++ b/examples/groundvectors.js @@ -124,9 +124,9 @@ const map = new olMap({ ], target: 'map2d', controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), view: new olView({ center: [16880670.33392873, -3565966.2275828626], diff --git a/examples/icon-position.js b/examples/icon-position.js index 8f800a49c..62fb17a6b 100644 --- a/examples/icon-position.js +++ b/examples/icon-position.js @@ -81,9 +81,9 @@ const map = new olMap({ ], target: 'map2d', controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), view: new olView({ center: [850000, 200000], diff --git a/examples/image-static.js b/examples/image-static.js index ad5e99f95..72b3b733d 100644 --- a/examples/image-static.js +++ b/examples/image-static.js @@ -32,9 +32,9 @@ const ol2d = new olMap({ }) ], controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/imageWMS.js b/examples/imageWMS.js index b239a7d49..c960c0975 100644 --- a/examples/imageWMS.js +++ b/examples/imageWMS.js @@ -30,9 +30,9 @@ const ol2d = new olMap({ }) ], controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/kml.js b/examples/kml.js index 756abc356..9fa11961f 100644 --- a/examples/kml.js +++ b/examples/kml.js @@ -18,9 +18,9 @@ const ol2d = new olMap({ }) ], controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/lazy.js b/examples/lazy.js index 3cbaf2351..e21dddde9 100644 --- a/examples/lazy.js +++ b/examples/lazy.js @@ -18,9 +18,9 @@ const ol2d = new olMap({ }) ], controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/main.js b/examples/main.js index 10498f988..ccb026be8 100644 --- a/examples/main.js +++ b/examples/main.js @@ -18,9 +18,9 @@ const ol2d = new olMap({ }) ], controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/overlay.js b/examples/overlay.js index fd71d07f2..7d6e0067b 100644 --- a/examples/overlay.js +++ b/examples/overlay.js @@ -23,9 +23,9 @@ const ol2d = new olMap({ }) ], controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), target: 'map', view: new olView({ diff --git a/examples/rotate.js b/examples/rotate.js index 5b20a165b..0c212d282 100644 --- a/examples/rotate.js +++ b/examples/rotate.js @@ -19,9 +19,9 @@ const map = new olMap({ ], target: 'map2d', controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), view: new olView({ center: [333333, 1500000], diff --git a/examples/tracking.js b/examples/tracking.js index bd0c72f26..e80938510 100644 --- a/examples/tracking.js +++ b/examples/tracking.js @@ -54,9 +54,9 @@ const map = new olMap({ ], target: 'map2d', controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), view: new olView({ center: [0, 0], diff --git a/examples/vectors.js b/examples/vectors.js index 60bdba660..e1f7019a0 100644 --- a/examples/vectors.js +++ b/examples/vectors.js @@ -307,9 +307,9 @@ const map = new olMap({ ], target: 'map2d', controls: olControlDefaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ + attributionOptions: { collapsible: false - }) + } }), view: new olView({ center: [0, 0],