import{jsxs as e,jsx as r}from"react/jsx-runtime";import{Source as i,Layer as o}from"@vis.gl/react-mapbox";import{MapConfig as a}from"../../../../constants.js";var l=function(l){var t=l.radiusDrawingPreviewCircle,s=l.radiusState,d=l.isRadiusHoveringEdge,n=l.isRadiusDrawingDragging,c=l.mapStyle;return e(i,{id:a.SourceIds.RadiusDrawingPreview,type:"geojson",data:t,children:[r(o,{id:a.LayerIds.RadiusDrawingPreviewFill,type:"fill",beforeId:a.LayerIds.WellsUnclustered,paint:{"fill-color":a.SelectionColors[c].fill,"fill-opacity":"confirming"===s.phase?1:.5}}),r(o,{id:a.LayerIds.RadiusDrawingPreviewStroke,type:"line",beforeId:a.LayerIds.WellsUnclustered,paint:{"line-color":a.SelectionColors[c].border,"line-width":d||n?a.SelectionColors[c].borderWidth+2:a.SelectionColors[c].borderWidth,"line-dasharray":[1,0]}})]})};export{l as RadiusPreviewLayers};
//# sourceMappingURL=RadiusPreviewLayers.js.map
