2020-04-29 04:21:44 -04:00
|
|
|
import React from "react";
|
|
|
|
|
|
|
|
const MapInteractionContext = React.createContext({
|
2020-05-21 02:46:50 -04:00
|
|
|
stageScale: 1,
|
|
|
|
stageWidth: 1,
|
|
|
|
stageHeight: 1,
|
|
|
|
setPreventMapInteraction: () => {},
|
|
|
|
mapWidth: 1,
|
|
|
|
mapHeight: 1,
|
2020-06-23 19:27:20 -04:00
|
|
|
interactionEmitter: null,
|
2020-04-29 04:21:44 -04:00
|
|
|
});
|
|
|
|
export const MapInteractionProvider = MapInteractionContext.Provider;
|
|
|
|
|
|
|
|
export default MapInteractionContext;
|