mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
add score L (#854)
This commit is contained in:
parent
a0bf186ee6
commit
62e20dd881
1 changed files with 12 additions and 12 deletions
|
@ -3,7 +3,7 @@ import {LngLatBoundsLike} from 'maplibre-gl';
|
||||||
import {isMobile as isMobileReactDeviceDetect} from 'react-device-detect';
|
import {isMobile as isMobileReactDeviceDetect} from 'react-device-detect';
|
||||||
|
|
||||||
const XYZ_SUFFIX = '{z}/{x}/{y}.pbf';
|
const XYZ_SUFFIX = '{z}/{x}/{y}.pbf';
|
||||||
export const featureURLForTilesetName = (tilesetName :string ) : string => {
|
export const featureURLForTilesetName = (tilesetName: string): string => {
|
||||||
// The feature tile base URL can either point locally or the CDN.
|
// The feature tile base URL can either point locally or the CDN.
|
||||||
// This is selected based on the DATA_SOURCE env variable.
|
// This is selected based on the DATA_SOURCE env variable.
|
||||||
const featureTileBaseURL = process.env.DATA_SOURCE === 'local' ?
|
const featureTileBaseURL = process.env.DATA_SOURCE === 'local' ?
|
||||||
|
@ -26,8 +26,8 @@ export const FEATURE_TILE_LOW_ZOOM_URL = featureURLForTilesetName('low');
|
||||||
export const PERFORMANCE_MARKER_MAP_IDLE = 'MAP_IDLE';
|
export const PERFORMANCE_MARKER_MAP_IDLE = 'MAP_IDLE';
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
export const SCORE_PROPERTY_HIGH = 'Score G';
|
export const SCORE_PROPERTY_HIGH = 'Definition L (percentile)';
|
||||||
export const SCORE_PROPERTY_LOW = 'G_SCORE';
|
export const SCORE_PROPERTY_LOW = 'L_SCORE';
|
||||||
export const GEOID_PROPERTY = 'GEOID10';
|
export const GEOID_PROPERTY = 'GEOID10';
|
||||||
export const HIGH_SCORE_SOURCE_NAME = 'score-high';
|
export const HIGH_SCORE_SOURCE_NAME = 'score-high';
|
||||||
export const HIGH_SCORE_LAYER_NAME = 'score-high-layer';
|
export const HIGH_SCORE_LAYER_NAME = 'score-high-layer';
|
||||||
|
@ -45,7 +45,7 @@ export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = 'Linguistic isolation (p
|
||||||
export const UNEMPLOYMENT_PROPERTY_PERCENTILE = 'Unemployed civilians (percent) (percentile)';
|
export const UNEMPLOYMENT_PROPERTY_PERCENTILE = 'Unemployed civilians (percent) (percentile)';
|
||||||
export const TOTAL_POPULATION = 'Total population';
|
export const TOTAL_POPULATION = 'Total population';
|
||||||
export const EDUCATION_PROPERTY_PERCENTILE =
|
export const EDUCATION_PROPERTY_PERCENTILE =
|
||||||
`Percent individuals age 25 or over with less than high school degree (percentile)`;
|
`Percent individuals age 25 or over with less than high school degree (percentile)`;
|
||||||
export const COUNTY_NAME = 'County Name';
|
export const COUNTY_NAME = 'County Name';
|
||||||
export const STATE_NAME = 'State Name';
|
export const STATE_NAME = 'State Name';
|
||||||
export const DIABETES_PERCENTILE = 'Diagnosed diabetes among adults aged >=18 years (percentile)';
|
export const DIABETES_PERCENTILE = 'Diagnosed diabetes among adults aged >=18 years (percentile)';
|
||||||
|
@ -76,42 +76,42 @@ export const GLOBAL_MIN_ZOOM_HIGH = 7;
|
||||||
export const GLOBAL_MAX_ZOOM_HIGH = 11;
|
export const GLOBAL_MAX_ZOOM_HIGH = 11;
|
||||||
|
|
||||||
// Bounds
|
// Bounds
|
||||||
export const GLOBAL_MAX_BOUNDS : LngLatBoundsLike = [
|
export const GLOBAL_MAX_BOUNDS: LngLatBoundsLike = [
|
||||||
[-180.118306, 5.499550],
|
[-180.118306, 5.499550],
|
||||||
[-65.0, 83.162102],
|
[-65.0, 83.162102],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const LOWER_48_BOUNDS : LngLatBoundsLike = [
|
export const LOWER_48_BOUNDS: LngLatBoundsLike = [
|
||||||
[-124.7844079, 24.7433195],
|
[-124.7844079, 24.7433195],
|
||||||
[-66.9513812, 49.3457868],
|
[-66.9513812, 49.3457868],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const ALASKA_BOUNDS : LngLatBoundsLike = [
|
export const ALASKA_BOUNDS: LngLatBoundsLike = [
|
||||||
[-183.856888, 50.875311],
|
[-183.856888, 50.875311],
|
||||||
[-140.932617, 71.958797],
|
[-140.932617, 71.958797],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const HAWAII_BOUNDS : LngLatBoundsLike = [
|
export const HAWAII_BOUNDS: LngLatBoundsLike = [
|
||||||
[-168.118306, 18.748115],
|
[-168.118306, 18.748115],
|
||||||
[-154.757881, 22.378413],
|
[-154.757881, 22.378413],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const PUERTO_RICO_BOUNDS : LngLatBoundsLike = [
|
export const PUERTO_RICO_BOUNDS: LngLatBoundsLike = [
|
||||||
[-67.945404, 17.88328],
|
[-67.945404, 17.88328],
|
||||||
[-65.220703, 18.515683],
|
[-65.220703, 18.515683],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const GUAM_BOUNDS : LngLatBoundsLike = [
|
export const GUAM_BOUNDS: LngLatBoundsLike = [
|
||||||
[-215.389709, 13.225909],
|
[-215.389709, 13.225909],
|
||||||
[-215.040894, 13.663335],
|
[-215.040894, 13.663335],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const MARIANA_ISLAND_BOUNDS : LngLatBoundsLike = [
|
export const MARIANA_ISLAND_BOUNDS: LngLatBoundsLike = [
|
||||||
[-215.313449, 14.007801],
|
[-215.313449, 14.007801],
|
||||||
[-213.742404, 19.750326],
|
[-213.742404, 19.750326],
|
||||||
];
|
];
|
||||||
|
|
||||||
export const AMERICAN_SAMOA_BOUNDS : LngLatBoundsLike = [
|
export const AMERICAN_SAMOA_BOUNDS: LngLatBoundsLike = [
|
||||||
[-171.089874, -14.548699],
|
[-171.089874, -14.548699],
|
||||||
[-168.1433, -11.046934],
|
[-168.1433, -11.046934],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue