Remove legacy code

This commit is contained in:
Pieter Vander Vennet 2024-07-26 21:49:32 +02:00
parent 394a8b2e07
commit 3acba29198

View file

@ -82,9 +82,6 @@ export abstract class OsmObject {
* */ * */
protected static isPolygon(tags: any): boolean { protected static isPolygon(tags: any): boolean {
for (const tagsKey in tags) { for (const tagsKey in tags) {
if (!tags.hasOwnProperty(tagsKey)) {
continue
}
const polyGuide: { values: Set<string>; blacklist: boolean } = const polyGuide: { values: Set<string>; blacklist: boolean } =
OsmObject.polygonFeatures.get(tagsKey) OsmObject.polygonFeatures.get(tagsKey)
if (polyGuide === undefined) { if (polyGuide === undefined) {