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:
Nat Hillard 2021-07-07 15:04:00 -04:00 committed by GitHub
commit 2257627938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 53 additions and 505 deletions

View file

@ -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');
});