Fixed icon anchor, still needs correction

This commit is contained in:
dpassoni
2023-03-07 15:39:06 +01:00
parent 10e0abfad3
commit 39d3877b00
2 changed files with 2 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ export class Unit extends Marker {
</div>
`,
className: 'ol-unit-marker',
iconAnchor: [60, 60]
iconAnchor: [0, 0]
});
this.setIcon(icon);