Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/__tests__/map.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("Map", () => {
expect(mapbox.Map).toHaveBeenCalledWith({
container,
cooperativeGestures: false,
style: `mapbox://styles/mapbox/satellite-streets-v11/`,
style: `mapbox://styles/covid-nasa/cm7etyf7t003s01qpfq8kec7y`,
zoom: 1,
center: [0, 0],
})
Expand Down
5 changes: 4 additions & 1 deletion src/components/explore/explore-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ const ExploreMap = ({ allData, filteredData, setGeoFilter, aoi, setAoi }) => {

// Render the Map component along with its children
return (
<Map height={500} basemap="mapbox://styles/mapbox/light-v10">
<Map
height={500}
basemap="mapbox://styles/covid-nasa/cm7eu3e5e002601qmc8i46na8"
>
<AoiControl
isDrawing={isDrawing}
setIsDrawing={setIsDrawing}
Expand Down
2 changes: 1 addition & 1 deletion src/components/map/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Map({ height, basemap, children, showControls }) {
mapbox.accessToken = process.env.GATSBY_MAPBOX_TOKEN
const m = new mapbox.Map({
container: containerRef.current,
style: basemap || "mapbox://styles/mapbox/satellite-streets-v11/",
style: basemap || "mapbox://styles/covid-nasa/cm7etyf7t003s01qpfq8kec7y",
zoom: 1,
center: [0, 0],
cooperativeGestures: showControls ? true : false,
Expand Down
Loading