import{MapConfig as e}from"../../constants.js";var r=function(r){var i=e.SelectionColors[r];return[{id:e.LayerIds.DrawPolygonFill,type:"fill",filter:["all",["==","$type","Polygon"]],paint:{"fill-color":i.fill,"fill-opacity":1}},{id:e.LayerIds.DrawLines,type:"line",filter:["any",["==","$type","LineString"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":i.border,"line-dasharray":["case",["==",["get","active"],"true"],[2,2],[1,0]],"line-width":i.borderWidth}},{id:e.LayerIds.DrawVertexOuter,type:"circle",filter:["all",["==","$type","Point"],["==","meta","vertex"],["!=","mode","simple_select"]],paint:{"circle-radius":4,"circle-color":"#000000","circle-stroke-color":i.border,"circle-stroke-width":i.borderWidth}},{id:e.LayerIds.DrawMidpoint,type:"circle",filter:["all",["==","meta","midpoint"]],paint:{"circle-radius":3,"circle-color":i.border}}]};export{r as getDrawStyles};
//# sourceMappingURL=draw-styles.js.map
