Skip to content

Commit

Permalink
fix: consistent point styles (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak authored Oct 23, 2024
1 parent f938a93 commit 9dcd8f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/my-map/drawing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function configureDrawPointerImage(
});
case "dot":
return new CircleStyle({
radius: 6,
radius: 10,
fill: new Fill({
color: drawColor,
}),
Expand Down Expand Up @@ -89,11 +89,11 @@ function configureDrawingLayerStyle(
case "Point":
return new Style({
image: new Circle({
radius: hideDrawLabels ? 10 : 12,
radius: drawMany && !hideDrawLabels ? 12 : 10,
fill: new Fill({ color: "#fff" }),
stroke: new Stroke({
color: drawColor,
width: hideDrawLabels ? 6 : 2,
width: drawMany && !hideDrawLabels ? 2 : 6,
}),
}),
text:
Expand Down
4 changes: 2 additions & 2 deletions src/components/my-map/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export class MyMap extends LitElement {
: hexToRgba(featureColor, 0),
}),
image: new Circle({
radius: 9,
radius: 10,
fill: new Fill({ color: featureColor }),
}),
});
Expand Down Expand Up @@ -706,7 +706,7 @@ export class MyMap extends LitElement {
}

const markerCircle = new Circle({
radius: 9,
radius: 10,
fill: new Fill({ color: this.markerColor }),
});

Expand Down

0 comments on commit 9dcd8f9

Please sign in to comment.