mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
Add initial AK points
- corrects filter expression - adds radius and color to constants
This commit is contained in:
parent
7ad8b83399
commit
c8218d352f
2 changed files with 7 additions and 9 deletions
|
@ -81,20 +81,17 @@ const MapTribalLayer = ({
|
|||
/>
|
||||
|
||||
{/* Alaska layer */}
|
||||
{/* // Todo: Figure out why this isn't working */}
|
||||
<Layer
|
||||
id={constants.SELECTED_FEATURE_BORDER_LAYER_ID}
|
||||
source-layer={constants.TRIBAL_SOURCE_NAME}
|
||||
|
||||
// Using other filter expressions, such as equality decisions here
|
||||
// may cause the open-source map to error out on - circle-radius not defined
|
||||
filter={['geometry-type', 'Point']}
|
||||
source-layer={constants.TRIBAL_SOURCE_LAYER}
|
||||
filter={['==', ['geometry-type'], 'Point']}
|
||||
type='circle'
|
||||
paint={{
|
||||
'circle-radius': 100,
|
||||
'circle-color': '#007cbf',
|
||||
'circle-radius': constants.TRIBAL_ALASKA_CIRCLE_RADIUS,
|
||||
'circle-color': constants.TRIBAL_ALASKA_CIRCLE_FILL_COLOR,
|
||||
}}
|
||||
minzoom={constants.TRIBAL_MIN_ZOOM}
|
||||
maxzoom={constants.TRIBAL_MAX_ZOOM}
|
||||
/>
|
||||
</Source>
|
||||
);
|
||||
|
|
|
@ -239,7 +239,8 @@ export const PRIORITIZED_FEATURE_FILL_COLOR = '#768FB3';
|
|||
export const TRIBAL_BORDER_COLOR = '##4EA5CF';
|
||||
export const SELECTED_TRIBAL_BORDER_COLOR = '#1A4480';
|
||||
export const TRIBAL_FILL_COLOR = '#768FB3';
|
||||
|
||||
export const TRIBAL_ALASKA_CIRCLE_FILL_COLOR = '#768FB3';
|
||||
export const TRIBAL_ALASKA_CIRCLE_RADIUS = 10;
|
||||
|
||||
// Widths
|
||||
export const FEATURE_BORDER_WIDTH = 0.8;
|
||||
|
|
Loading…
Add table
Reference in a new issue