Added simple pointer tool

This commit is contained in:
Mitchell McCaffrey
2020-07-28 17:59:26 +10:00
parent 9efc84434b
commit c6f9b29cc3
6 changed files with 195 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ import FogToolIcon from "../../icons/FogToolIcon";
import BrushToolIcon from "../../icons/BrushToolIcon";
import MeasureToolIcon from "../../icons/MeasureToolIcon";
import ExpandMoreIcon from "../../icons/ExpandMoreIcon";
import PointerToolIcon from "../../icons/PointerToolIcon";
function MapContols({
onMapChange,
@@ -55,8 +56,13 @@ function MapContols({
title: "Measure Tool",
SettingsComponent: MeasureToolSettings,
},
pointer: {
id: "pointer",
icon: <PointerToolIcon />,
title: "Pointer Tool",
},
};
const tools = ["pan", "fog", "drawing", "measure"];
const tools = ["pan", "fog", "drawing", "measure", "pointer"];
const sections = [
{