Skip to content

Commit 5ef3d16

Browse files
[fix]UT
1 parent 2e7ec56 commit 5ef3d16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/openlayers/overlay/GraphicSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ describe('openlayers_GraphicLayer', () => {
638638
});
639639

640640
it('onCLick', (done) => {
641-
const map = new Map({
641+
map = new Map({
642642
target: 'map',
643643
view: new View({
644644
center: [0, 0],
@@ -653,7 +653,7 @@ describe('openlayers_GraphicLayer', () => {
653653
highlightColor: [255, 0, 0, 255],
654654
radius: 20
655655
};
656-
var graphicLayer = new ImageLayer({
656+
graphicLayer = new ImageLayer({
657657
source: new GraphicSource({
658658
render: 'webgl',
659659
graphics: graphics,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy