mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
rebase and format
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user