Added map context to scale simplification by map scale
Added distance to quadratic functions to vector
This commit is contained in:
9
src/contexts/MapInteractionContext.js
Normal file
9
src/contexts/MapInteractionContext.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
const MapInteractionContext = React.createContext({
|
||||
translateRef: null,
|
||||
scaleRef: null,
|
||||
});
|
||||
export const MapInteractionProvider = MapInteractionContext.Provider;
|
||||
|
||||
export default MapInteractionContext;
|
||||
Reference in New Issue
Block a user