{"size": 967, "ext": "js", "max_stars_repo_path": "src/constants.js", "max_stars_repo_name": "bharatpe/g-mapify", "max_stars_repo_stars_event_min_datetime": "2020-06-20T03:58:36.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-29T15:15:06.000Z", "max_issues_repo_path": "src/constants.js", "max_issues_repo_name": "bharatpe/g-mapify", "max_issues_repo_issues_event_min_datetime": "2021-02-09T01:46:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-02-17T06:39:33.000Z", "max_forks_repo_path": "src/constants.js", "max_forks_repo_name": "bharatpe/g-mapify", "max_forks_repo_forks_event_min_datetime": "2020-06-16T09:44:42.000Z", "max_forks_repo_forks_event_max_datetime": "2020-06-16T09:44:42.000Z"}
{"max_stars_count": 10, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 19.7346938776, "max_line_length": 49, "alphanum_fraction": 0.7352637022}
// Default lat, lng for map
const DEFAULT_LAT_LONG = {
  lat: 28.7041,
  lng: 77.1025
};

const DEFAULT_DEBOUNCE_TIME = 1000;
const DEFAULT_HAS_MARKER = true;
const DEFAULT_HAS_SEARCH = false;
const DEFAULT_SEARCH_PLACEHOLDER = "Search here";
const DEFAULT_LIBRARY_MODE = "places";

const DEFAULT_MAP_OPTIONS = {
  zoom: 15,
  zoomControl: false,
  mapTypeControl: false,
  fullscreenControl: false,
  streetViewControl: false,
  clickableIcons: false,
  mapTypeId: "roadmap"
};

// Map search API loading state
const SEARCH_STATE = {
  LOAD: 1,
  FAIL: -1,
  PROGRESS: 0
};

// Map message constant
const MSG_CONST = {
  NO_FETCH: "Unable to fetch location",
  NO_RESULT: "No Results Found",
  LOADING: "Searching...",
  MAP_NOT_LOADED: "Map load failed!"
};

export {
  SEARCH_STATE,
  MSG_CONST,
  DEFAULT_LAT_LONG,
  DEFAULT_MAP_OPTIONS,
  DEFAULT_DEBOUNCE_TIME,
  DEFAULT_HAS_MARKER,
  DEFAULT_HAS_SEARCH,
  DEFAULT_SEARCH_PLACEHOLDER,
  DEFAULT_LIBRARY_MODE
};
