MCPcopy Index your code
hub / github.com/plotly/plotly.js / assertTile

Function assertTile

test/jasmine/tests/map_test.js:1446–1449  ·  view source on GitHub ↗
(link)

Source from the content-addressed store, hash-verified

1444
1445 it('@gl should be able to react to new tiles', function(done) {
1446 function assertTile(link) {
1447 var mapInfo = getMapInfo(gd);
1448 expect(mapInfo.style.sources.REF.tiles[0]).toEqual(link);
1449 }
1450
1451 var firstLink = 'https://a.tile.openstreetmap.org/{z}/{x}/{y}.png';
1452 var secondLink = 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{x}/{y}.png';

Callers 1

map_test.jsFile · 0.85

Calls 1

getMapInfoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…