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