diff --git a/app/src/PageTile.tsx b/app/src/PageTile.tsx index f3ce02b..9c01fba 100644 --- a/app/src/PageTile.tsx +++ b/app/src/PageTile.tsx @@ -86,7 +86,7 @@ function parseTile(data: ArrayBuffer, vectorLayers: string[]): Layer[] { } // sort so that points and linestrings are above polygons - features.sort((a,b) => a.type > b.type ? -1 : 1); + features.sort((a, b) => (a.type > b.type ? -1 : 1)); layers.push({ name: name, features: features }); }