Skip to content

Commit

Permalink
Decompose map startup, move map into context, and refactor draw tools
Browse files Browse the repository at this point in the history
  • Loading branch information
plasticviking committed Dec 23, 2024
1 parent 92966d6 commit 976438c
Show file tree
Hide file tree
Showing 23 changed files with 807 additions and 625 deletions.
2 changes: 1 addition & 1 deletion app/src/UI/LegacyMap/Controls/PrimaryLayerSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useDispatch } from 'react-redux';
import { IconButton, Tooltip } from '@mui/material';
import { useSelector } from 'utils/use_selector';
import 'UI/Global.css';
import { MAP_DEFINITIONS } from 'UI/LegacyMap/helpers/layer-definitions';
import { MAP_DEFINITIONS } from 'UI/LegacyMap/helpers/functional/layer-definitions';
import { DeviceUnknown, Hd, Landscape, Map, SaveAlt, Sd, SignalCellularNodata } from '@mui/icons-material';
import MapActions from 'state/actions/map';

Expand Down
9 changes: 9 additions & 0 deletions app/src/UI/LegacyMap/InvasivesMap.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import maplibregl, { MapOptions } from 'maplibre-gl';

class InvasivesMap extends maplibregl.Map {
constructor(options: MapOptions) {
super(options);
}
}

export { InvasivesMap };
Loading

0 comments on commit 976438c

Please sign in to comment.