Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-WorkGH committed Apr 8, 2024
1 parent 8a0046c commit b35562c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/components/merge-map.css

This file was deleted.

14 changes: 12 additions & 2 deletions src/components/merge-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

import { memo, useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import { ComposableMap, Geographies, Geography } from 'react-simple-maps';
import styled from '@emotion/styled';
import {
ComposableMap,
Geographies,
Geography as RawGeography,
} from 'react-simple-maps';
import bbox from 'geojson-bbox';
import {
CgmStatus,
Expand All @@ -17,7 +22,12 @@ import {
} from '../utils/rest-api';
import { Tooltip } from 'react-tooltip';
import { getDetailsByCountryOrTso } from '../utils/tso-country-details';
import './merge-map.css';

const Geography = styled(RawGeography)`
stroke: white;
stroke-width: 1px;
vector-effect: non-scaling-stroke;
`;

const DEFAULT_CENTER = [0, 0];
const DEFAULT_SCALE = 35000;
Expand Down

0 comments on commit b35562c

Please sign in to comment.