react-mapfilter
Version:
These components are designed for viewing data in Mapeo. They share a common interface:
16 lines (15 loc) • 436 B
JavaScript
// @flow
import * as React from 'react';
import * as coordFormats from '../constants/coord_formats';
/*:: type SettingsContextType = {
coordFormat: $Values<typeof coordFormats>
}*/
export const defaultSettings
/*: SettingsContextType*/
= {
coordFormat: coordFormats.UTM
};
export const SettingsContext
/*: React.Context<SettingsContextType>*/
= /*#__PURE__*/React.createContext(defaultSettings);
//# sourceMappingURL=Context.js.map