Skip to content

Commit 3b5caee

Browse files
authored
Merge pull request #702 from openlayers/cleanup
Remove unnecessary type cast
2 parents 642e1e2 + 737d7be commit 3b5caee

File tree

13 files changed

+26
-26
lines changed

13 files changed

+26
-26
lines changed

examples/bing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const ol2d = new olMap({
2323
],
2424
controls: olControlDefaults({
2525
attribution: true,
26-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
26+
attributionOptions: {
2727
collapsible: false
28-
})
28+
}
2929
}),
3030
target: 'map',
3131
view: new olView({

examples/fillstyle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ const map = new olMap({
6666
],
6767
target: 'map2d',
6868
controls: olControlDefaults({
69-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
69+
attributionOptions: {
7070
collapsible: false
71-
})
71+
}
7272
}),
7373
view: new olView({
7474
center: [-2e6, 1e6],

examples/groundvectors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ const map = new olMap({
124124
],
125125
target: 'map2d',
126126
controls: olControlDefaults({
127-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
127+
attributionOptions: {
128128
collapsible: false
129-
})
129+
}
130130
}),
131131
view: new olView({
132132
center: [16880670.33392873, -3565966.2275828626],

examples/icon-position.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ const map = new olMap({
8181
],
8282
target: 'map2d',
8383
controls: olControlDefaults({
84-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
84+
attributionOptions: {
8585
collapsible: false
86-
})
86+
}
8787
}),
8888
view: new olView({
8989
center: [850000, 200000],

examples/image-static.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ const ol2d = new olMap({
3232
})
3333
],
3434
controls: olControlDefaults({
35-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
35+
attributionOptions: {
3636
collapsible: false
37-
})
37+
}
3838
}),
3939
target: 'map',
4040
view: new olView({

examples/imageWMS.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const ol2d = new olMap({
3030
})
3131
],
3232
controls: olControlDefaults({
33-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
33+
attributionOptions: {
3434
collapsible: false
35-
})
35+
}
3636
}),
3737
target: 'map',
3838
view: new olView({

examples/kml.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ const ol2d = new olMap({
1818
})
1919
],
2020
controls: olControlDefaults({
21-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
21+
attributionOptions: {
2222
collapsible: false
23-
})
23+
}
2424
}),
2525
target: 'map',
2626
view: new olView({

examples/lazy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ const ol2d = new olMap({
1818
})
1919
],
2020
controls: olControlDefaults({
21-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
21+
attributionOptions: {
2222
collapsible: false
23-
})
23+
}
2424
}),
2525
target: 'map',
2626
view: new olView({

examples/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ const ol2d = new olMap({
1818
})
1919
],
2020
controls: olControlDefaults({
21-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
21+
attributionOptions: {
2222
collapsible: false
23-
})
23+
}
2424
}),
2525
target: 'map',
2626
view: new olView({

examples/overlay.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const ol2d = new olMap({
2323
})
2424
],
2525
controls: olControlDefaults({
26-
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
26+
attributionOptions: {
2727
collapsible: false
28-
})
28+
}
2929
}),
3030
target: 'map',
3131
view: new olView({

0 commit comments

Comments
 (0)