forked from osm-americana/openstreetmap-americana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
legend_config.js
68 lines (66 loc) · 1.74 KB
/
legend_config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
"use strict";
import * as PlaceLayers from "../layer/place.js";
import * as LanduseLayers from "../layer/landuse.js";
import * as BoundaryLayers from "../layer/boundary.js";
import * as RoadLayers from "../layer/road.js";
import * as ConstructionLayers from "../layer/construction.js";
import * as HighwayExitLayers from "../layer/highway_exit.js";
import * as RailLayers from "../layer/rail.js";
import * as AerowayLayers from "../layer/aeroway.js";
import * as POILayers from "../layer/poi.js";
import * as ParkLayers from "../layer/park.js";
import * as BuildingLayers from "../layer/building.js";
import * as WaterLayers from "../layer/water.js";
import * as FerryLayers from "../layer/ferry.js";
import * as AerialwayLayers from "../layer/aerialway.js";
export const sections = [
{
name: "Populated places",
entries: PlaceLayers.legendEntries,
},
{
name: "Borders",
entries: BoundaryLayers.legendEntries,
},
{
name: "Roads",
entries: [
...RoadLayers.legendEntries,
...ConstructionLayers.legendEntries,
...HighwayExitLayers.legendEntries,
],
},
{
id: "shields",
name: "Route markers",
source: "Wikidata",
},
{
name: "Railroads",
entries: RailLayers.legendEntries,
},
{
name: "Aerial lifts",
entries: AerialwayLayers.legendEntries,
},
{
name: "Aviation",
entries: AerowayLayers.legendEntries,
},
{
name: "Points of interest",
entries: POILayers.legendEntries,
},
{
name: "Structures",
entries: BuildingLayers.legendEntries,
},
{
name: "Land use",
entries: [...LanduseLayers.legendEntries, ...ParkLayers.legendEntries],
},
{
name: "Water",
entries: [...WaterLayers.legendEntries, ...FerryLayers.legendEntries],
},
];