source: osm/applications/editors/josm/mvt/mapillary-style.json@ 35956

Last change on this file since 35956 was 35801, checked in by taylor.smock, 3 years ago

mvt: Add initial directory with Mapillary stylesheet

This fixes #21194 by putting style information in SVN.

File size: 2.9 KB
Line 
1{
2 "version": 8,
3 "name": "Mapillary",
4 "owner": "Mapillary",
5 "id": "mapillary",
6 "sources": {
7 "mapillary-source": {
8 "maxzoom": 14,
9 "tiles": [
10 "https://tiles.mapillary.com/maps/vtp/mly1_public/2/{z}/{x}/{y}?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398"
11 ],
12 "type": "vector"
13 },
14 "mapillary-points-source": {
15 "maxzoom": 14,
16 "minzoom": 14,
17 "tiles": [
18 "https://tiles.mapillary.com/maps/vtp/mly_map_feature_point/2/{z}/{x}/{y}?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398"
19 ],
20 "type": "vector"
21 },
22 "mapillary-traffic-signs-source": {
23 "maxzoom": 14,
24 "minzoom": 14,
25 "tiles": [
26 "https://tiles.mapillary.com/maps/vtp/mly_map_feature_traffic_sign/2/{z}/{x}/{y}?access_token=MLY|4223665974375089|d62822dd792b6a823d0794ef26450398"
27 ],
28 "type": "vector"
29 }
30 },
31 "sprite": "https://www.mapillary.com/assets/sprites/v1/sprites",
32 "layers": [
33 {
34 "filter": [
35 "==",
36 "is_pano",
37 true
38 ],
39 "id": "mapillary-panos",
40 "type": "circle",
41 "source": "mapillary-source",
42 "source-layer": "image",
43 "minzoom": 17,
44 "paint": {
45 "circle-color": "#05CB63",
46 "circle-opacity": 0.5,
47 "circle-radius": 18
48 }
49 },
50 {
51 "id": "mapillary-dots",
52 "type": "circle",
53 "source": "mapillary-source",
54 "source-layer": "image",
55 "interactive": true,
56 "minzoom": 14,
57 "paint": {
58 "circle-color": "#05CB63",
59 "circle-radius": 6
60 }
61 },
62 {
63 "id": "mapillary-lines",
64 "type": "line",
65 "source": "mapillary-source",
66 "source-layer": "sequence",
67 "minzoom": 6,
68 "paint": {
69 "line-color": "#05CB63",
70 "line-width": 2
71 }
72 },
73 {
74 "id": "mapillary-overview",
75 "type": "circle",
76 "source": "mapillary-source",
77 "source-layer": "overview",
78 "maxzoom": 6,
79 "paint": {
80 "circle-radius": 4,
81 "circle-opacity": 0.6,
82 "circle-color": "#05CB63"
83 }
84 },
85 {
86 "id": "mapillary-points",
87 "type": "symbol",
88 "source": "mapillary-points-source",
89 "source-layer": "point",
90 "interactive": true,
91 "minzoom": 14,
92 "layout": {
93 "icon-image": "{value}",
94 "icon-allow-overlap": true,
95 "symbol-avoid-edges": true
96 },
97 "paint": {
98 "text-color": "#fff",
99 "text-halo-color": "#000"
100 }
101 },
102 {
103 "id": "mapillary-traffic-signs",
104 "type": "symbol",
105 "source": "mapillary-traffic-signs-source",
106 "source-layer": "traffic_sign",
107 "interactive": true,
108 "minzoom": 14,
109 "layout": {
110 "icon-image": "{value}",
111 "icon-allow-overlap": true,
112 "symbol-avoid-edges": true
113 },
114 "paint": {
115 "text-color": "#fff",
116 "text-halo-color": "#000"
117 }
118 }
119 ]
120}
Note: See TracBrowser for help on using the repository browser.