diff --git a/src/components/my-map/drawing.ts b/src/components/my-map/drawing.ts index cc2a486..f8496d3 100644 --- a/src/components/my-map/drawing.ts +++ b/src/components/my-map/drawing.ts @@ -87,6 +87,7 @@ function configureDrawingLayerStyle( drawMany: boolean, feature: FeatureLike, ) { + drawColor = feature.get("color") || drawColor; switch (drawType) { case "Point": return new Style({