added editable route

This commit is contained in:
Fedor Katurov 2019-12-30 13:16:35 +07:00
parent 5664291c92
commit fca52df9f5
17 changed files with 282 additions and 11 deletions

5
src/utils/context.ts Normal file
View 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)