Skip to content

Commit 1d64886

Browse files
[fix]修改经纬网测试 review by songym
1 parent 5c43e5d commit 1d64886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/mapboxgl/overlay/GraticuleLayerSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ describe('mapboxgl_GraticuleLayer', () => {
7575

7676
it('setVisibility', () => {
7777
graticuleLayer.setVisibility(false);
78-
var visible = map.getLayoutProperty('graticuleLayer_1', 'visibility');
78+
var visible = map.getLayoutProperty('graticuleLayer_1_line', 'visibility');
7979
expect(visible).toBe('none');
8080
graticuleLayer.setVisibility(true);
81-
visible = map.getLayoutProperty('graticuleLayer_1', 'visibility');
81+
visible = map.getLayoutProperty('graticuleLayer_1_line', 'visibility');
8282
expect(visible).toBe('visible');
8383
});
8484

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