Skip to content

Commit

Permalink
Hide Sites map ring legend
Browse files Browse the repository at this point in the history
  • Loading branch information
braddf committed Jul 24, 2024
1 parent eee2278 commit 1b8177e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/nowcasting-app/components/map/sitesMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
import { theme } from "../../tailwind.config";
import { Feature, FeatureCollection } from "geojson";
import Slider from "./sitesMapFeatures/sitesZoomSlider";
import SitesLegend from "./sitesMapFeatures/sitesLegend";
import { safelyUpdateMapData } from "../helpers/mapUtils";
import dynamic from "next/dynamic";

Expand Down Expand Up @@ -523,7 +522,7 @@ const SitesMap: React.FC<SitesMapProps> = ({
)}
title={VIEWS.SOLAR_SITES}
>
<SitesLegend color={"color"} />
{/*<SitesLegend color={"color"} />*/}
</MapComponent>
)}
</div>
Expand Down
4 changes: 3 additions & 1 deletion apps/nowcasting-app/components/map/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { ReactNode } from "react";

export enum ActiveUnit {
MW = "MW",
percentage = "%",
Expand All @@ -12,7 +14,7 @@ export enum SelectedData {
}

export interface IMap {
children: React.ReactNode;
children?: ReactNode;
loadDataOverlay: any;
controlOverlay: any;
bearing?: number;
Expand Down

0 comments on commit 1b8177e

Please sign in to comment.