Skip to content

Commit 7c19ad1

Browse files
committed
fixes layer style for min area label
1 parent 1e2429b commit 7c19ad1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-maplibre-gl",
3-
"version": "5.4.0",
3+
"version": "5.4.1",
44
"description": "Vue 3 plugin for maplibre-gl",
55
"keywords": [
66
"vue",

src/plugins/draw/styles.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ export const DefaultDrawStyles: DrawStyle[] = [
4747
'text-font' : [ 'Open Sans Bold' ],
4848
'text-size' : 24,
4949
'text-justify' : 'center',
50-
'text-anchor' : 'center',
51-
'symbol-placement': 'point',
52-
'text-overlap' : 'always'
50+
'text-anchor' : 'center'
5351
},
5452
paint : {
5553
'text-color' : '#e74b3c',

0 commit comments

Comments
 (0)