mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Update react packages
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { Flight } from "../../api/liberationApi";
|
||||
import { Icon, Point } from "leaflet";
|
||||
import { Symbol } from "milsymbol";
|
||||
import ms from "milsymbol";
|
||||
import { Marker } from "react-leaflet";
|
||||
|
||||
function iconForFlight(flight: Flight) {
|
||||
const symbol = new Symbol(flight.sidc, {
|
||||
const symbol = new ms.Symbol(flight.sidc, {
|
||||
size: 20,
|
||||
});
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { ControlPoint } from "../../api/_liberationApi";
|
||||
import { Icon, Point } from "leaflet";
|
||||
import { Symbol } from "milsymbol";
|
||||
import ms from "milsymbol";
|
||||
|
||||
export const iconForControlPoint = (cp: ControlPoint) => {
|
||||
const symbol = new Symbol(cp.sidc, {
|
||||
const symbol = new ms.Symbol(cp.sidc, {
|
||||
size: 24,
|
||||
colorMode: "Dark",
|
||||
});
|
||||
|
||||
@@ -5,11 +5,11 @@ import {
|
||||
import { Tgo as TgoModel } from "../../api/liberationApi";
|
||||
import SplitLines from "../splitlines/SplitLines";
|
||||
import { Icon, Point } from "leaflet";
|
||||
import { Symbol as MilSymbol } from "milsymbol";
|
||||
import ms from "milsymbol";
|
||||
import { Marker, Tooltip } from "react-leaflet";
|
||||
|
||||
function iconForTgo(cp: TgoModel) {
|
||||
const symbol = new MilSymbol(cp.sidc, {
|
||||
const symbol = new ms.Symbol(cp.sidc, {
|
||||
size: 24,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user