mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
added editable route
This commit is contained in:
parent
5664291c92
commit
fca52df9f5
17 changed files with 282 additions and 11 deletions
5
src/utils/context.ts
Normal file
5
src/utils/context.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import * as React from 'react';
|
||||
import { Map, TileLayer } from 'leaflet';
|
||||
|
||||
export const MapContext = React.createContext<Map>(null);
|
||||
export const TileContext = React.createContext<TileLayer>(null)
|
Loading…
Add table
Add a link
Reference in a new issue