Skip to content
Snippets Groups Projects
Commit d2740426 authored by Miłosz Grocholewski's avatar Miłosz Grocholewski
Browse files

Merge branch 'feat/MIN-25-modification-state-abbreviation' into 'development'

fix(vector-map): using state abbreviation instead of name if exists

Closes MIN-25

See merge request !272
parents 465f16fb c69eab21
No related branches found
No related tags found
1 merge request!272fix(vector-map): using state abbreviation instead of name if exists
Pipeline #96827 passed
......@@ -163,14 +163,14 @@ export default class MapElement extends BaseMultiPolygon {
modificationStyle.setText(
new Text({
text: modificationText,
font: `${modification.fontSize}px Arial`,
font: `${modification.fontSize}pt Arial`,
textAlign: 'center',
textBaseline: 'middle',
fill: getFill({ color: '#000' }),
overflow: true,
}),
);
this.polygonsTexts.push(modification.name);
this.polygonsTexts.push(modificationText);
}
this.styles.push(modificationStyle);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment