mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-06 03:04:19 -07:00
Use MapLibre for Map Visualization (#300)
* switching to MapLibre (see more at https://github.com/usds/justice40-tool/issues/299) * Removing traces of OpenLayers * Review comments - removing unused properties, component This is a pre-requisite for addressing issue #280 and other similar control-related tickets
This commit is contained in:
parent
27d9472326
commit
2257627938
21 changed files with 53 additions and 505 deletions
|
@ -3,7 +3,7 @@
|
|||
// For some interactions, we need access to the underlying map
|
||||
// Below adapted from https://github.com/codeforcologne/edelgard-map
|
||||
Cypress.Commands.add('getMap', () => {
|
||||
return cy.window().its('mapboxGlMap');
|
||||
return cy.window().its('underlyingMap');
|
||||
});
|
||||
|
||||
Cypress.Commands.add('waitForMove', (map) => {
|
||||
|
@ -18,6 +18,6 @@ Cypress.Commands.add('panTo', (map, lngLat) => {
|
|||
});
|
||||
|
||||
Cypress.Commands.add('getMapCanvas', () => {
|
||||
return cy.get('.mapboxgl-canvas');
|
||||
return cy.get('.maplibregl-canvas');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue