Skip to content

Commit 02f939d

Browse files
authored
Update GraticuleLayerSpec.js
1 parent 00706a3 commit 02f939d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mapboxgl/overlay/GraticuleLayerSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('mapboxgl_GraticuleLayer', () => {
4444
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
4545
jasmine.DEFAULT_TIMEOUT_INTERVAL = 50000;
4646
if (!map.getLayer('graticuleLayer_1')) {
47-
graticuleLayer = new GraticuleLayer(map);
47+
graticuleLayer = new GraticuleLayer({layerID :'graticuleLayer_1'});
4848
graticuleLayer.onAdd(map);
4949
}
5050
});

0 commit comments

Comments
 (0)