mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-10 15:54:18 -07:00
Allow for Census Tract search in UI
This commit is contained in:
parent
4130c46aee
commit
cf4e35acce
15 changed files with 362 additions and 162 deletions
|
@ -38,13 +38,8 @@ export const featureURLForTilesetName = (tilesetName: string): string => {
|
|||
} else {
|
||||
// The feature tile base URL and path can either point locally or the CDN.
|
||||
// This is selected based on the DATA_SOURCE env variable.
|
||||
const featureTileBaseURL = process.env.DATA_SOURCE === 'local' ?
|
||||
process.env.GATSBY_LOCAL_TILES_BASE_URL :
|
||||
process.env.GATSBY_CDN_TILES_BASE_URL;
|
||||
|
||||
const featureTilePath = process.env.DATA_SOURCE === 'local' ?
|
||||
process.env.GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL :
|
||||
process.env.GATSBY_2_0_SCORE_PATH;
|
||||
const featureTileBaseURL = constants.TILE_BASE_URL;
|
||||
const featureTilePath = constants.TILE_PATH;
|
||||
|
||||
return [
|
||||
featureTileBaseURL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue