Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offset #432

Merged
merged 2 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ updates:
directory: "/"
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "daily"
interval: "weekly"
versioning-strategy: increase-if-necessary
2 changes: 2 additions & 0 deletions data/olStyles/point_fontglyph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const olFontGlyph = new OlStyle({
text: new OlStyleText({
text: '|',
font: 'Normal 12px \'My Font Name\', geostyler-mark-symbolizer',
offsetX: 10,
offsetY: 20,
fill: new OlStyleFill({
color: '#FF0000'
}),
Expand Down
3 changes: 2 additions & 1 deletion data/olStyles/point_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const olIconPoint = new OlStyle({
src: 'https://avatars1.githubusercontent.com/u/1849416?s=460&v=4',
scale: 0.1,
rotation: Math.PI / 4,
opacity: 0.5
opacity: 0.5,
displacement: [10, 20]
})
});

Expand Down
1 change: 1 addition & 0 deletions data/olStyles/point_simpletriangle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const olSimpleTriangle = new OlStyle({
image: new OlStyleRegularshape({
points: 3,
radius: 6,
displacement: [10, 20],
fill: new OlStyleFill({
color: '#FF0000'
})
Expand Down
3 changes: 2 additions & 1 deletion data/styles/point_fontglyph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const pointFontglyph: Style = {
color: '#FF0000',
radius: 12,
rotate: 0,
strokeColor: '#112233'
strokeColor: '#112233',
offset: [10, 20]
}]
}
]
Expand Down
3 changes: 2 additions & 1 deletion data/styles/point_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const pointSimplePoint: Style = {
image: 'https://avatars1.githubusercontent.com/u/1849416?s=460&v=4',
size: 0.1,
opacity: 0.5,
rotate: 45
rotate: 45,
offset: [10, 20]
}]
}
]
Expand Down
3 changes: 2 additions & 1 deletion data/styles/point_simpletriangle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const pointSimpleTriangle: Style = {
wellKnownName: 'triangle',
color: '#FF0000',
radius: 6,
rotate: 0
rotate: 0,
offset: [10, 20]
}]
}
]
Expand Down
Loading