refactor: apply new eslint rules

This commit is contained in:
Rainer Killinger
2021-08-03 17:34:38 +02:00
parent bb8a9f6ba5
commit 7afa66e01a
15 changed files with 229 additions and 113 deletions

View File

@@ -46,9 +46,7 @@ export class MapProvider {
static getPointMarker(point: Point) {
return marker(geoJSON(point).getBounds().getCenter(), {
icon: icon({
// tslint:disable-next-line:no-magic-numbers
iconAnchor: [13, 41],
// tslint:disable-next-line:no-magic-numbers
iconSize: [25, 41],
iconUrl: '../assets/marker-icon.png',
shadowUrl: '../assets/marker-shadow.png',