Skip to content

Commit

Permalink
hi res last version data layer
Browse files Browse the repository at this point in the history
  • Loading branch information
mluena committed Jul 26, 2024
1 parent 8dc367c commit cdee3f5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function useSource(): SourceProps {
return {
id: 'hi-res-extent',
type: 'vector',
url: 'mapbox://globalmangrovewatch.gmw_v4_sen2_sgl_cls_v007_all_z',
url: 'mapbox://globalmangrovewatch.gmw_v4019_sen2_mng_all_zooms',
};
}
const darkTeal = '#005f73';
Expand All @@ -17,7 +17,7 @@ export function useLayers({ id }: { id: LayerProps['id'] }): LayerProps[] {
id: `${id}_fill`,
type: 'fill',
source: 'hi-res-extent',
'source-layer': 'gmw_v4_sen2_sgl_cls_v007_wgs84',
'source-layer': 'gmw_v4019_sen2_mng',
paint: {
'fill-color': darkTeal,
'fill-opacity': ['interpolate', ['linear'], ['zoom'], 0, 0.5, 12, 0.3],
Expand All @@ -30,7 +30,7 @@ export function useLayers({ id }: { id: LayerProps['id'] }): LayerProps[] {
id: `${id}_line`,
type: 'line',
source: 'hi-res-extent',
'source-layer': 'gmw_v4_sen2_sgl_cls_v007_wgs84',
'source-layer': 'gmw_v4019_sen2_mng',
paint: {
'line-color': darkTeal,
'line-opacity': 0.8,
Expand Down

0 comments on commit cdee3f5

Please sign in to comment.