@mmj-map/palette 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,950 @@
1
+ {
2
+ "version": 8,
3
+ "name": "Modern Ink",
4
+ "metadata": {
5
+ "mmj:status": "提案。DESIGN.md のパレット欄はまだ空で、ここの色は承認されていない",
6
+ "mmj:note": "無彩色・高コントラスト。白い道に黒い輪郭。白黒で刷っても潰れないことを狙った版",
7
+ "mmj:structure": "レイヤ構成・フィルタ・太さは modern-dark.json と同一。**違うのは色だけ**(styles/README.md)",
8
+ "mmj:basemap-version": "4.15.2",
9
+ "mmj:kinds-verified": "dist/tiles/kansai.pmtiles の z14/14358/6506 を復号して実値を確認した(推測で書いていない)",
10
+ "mmj:tiles-placeholder": "__TILES_URL__ は読み込み側が差し替える。配信先が未決のため URL を焼き込まない"
11
+ },
12
+ "glyphs": "../glyphs/{fontstack}/{range}.pbf",
13
+ "sources": {
14
+ "basemap": {
15
+ "type": "vector",
16
+ "url": "pmtiles://__TILES_URL__",
17
+ "attribution": "© OpenStreetMap contributors"
18
+ }
19
+ },
20
+ "layers": [
21
+ {
22
+ "id": "background",
23
+ "type": "background",
24
+ "paint": {
25
+ "background-color": "#FFFFFF"
26
+ }
27
+ },
28
+ {
29
+ "id": "earth",
30
+ "type": "fill",
31
+ "source": "basemap",
32
+ "source-layer": "earth",
33
+ "paint": {
34
+ "fill-color": "#FFFFFF"
35
+ }
36
+ },
37
+ {
38
+ "id": "landcover",
39
+ "type": "fill",
40
+ "source": "basemap",
41
+ "source-layer": "landcover",
42
+ "maxzoom": 8,
43
+ "paint": {
44
+ "fill-color": "#F0F0F0",
45
+ "fill-opacity": 0.5
46
+ }
47
+ },
48
+ {
49
+ "id": "landuse-green",
50
+ "type": "fill",
51
+ "source": "basemap",
52
+ "source-layer": "landuse",
53
+ "filter": [
54
+ "in",
55
+ [
56
+ "get",
57
+ "kind"
58
+ ],
59
+ [
60
+ "literal",
61
+ [
62
+ "park",
63
+ "forest",
64
+ "wood",
65
+ "grass",
66
+ "garden",
67
+ "scrub",
68
+ "pitch",
69
+ "playground"
70
+ ]
71
+ ]
72
+ ],
73
+ "paint": {
74
+ "fill-color": "#E4E4E4"
75
+ }
76
+ },
77
+ {
78
+ "id": "landuse-built",
79
+ "type": "fill",
80
+ "source": "basemap",
81
+ "source-layer": "landuse",
82
+ "filter": [
83
+ "in",
84
+ [
85
+ "get",
86
+ "kind"
87
+ ],
88
+ [
89
+ "literal",
90
+ [
91
+ "school",
92
+ "college",
93
+ "university",
94
+ "hospital",
95
+ "kindergarten"
96
+ ]
97
+ ]
98
+ ],
99
+ "paint": {
100
+ "fill-color": "#F4F4F4"
101
+ }
102
+ },
103
+ {
104
+ "id": "landuse-paved",
105
+ "type": "fill",
106
+ "source": "basemap",
107
+ "source-layer": "landuse",
108
+ "filter": [
109
+ "in",
110
+ [
111
+ "get",
112
+ "kind"
113
+ ],
114
+ [
115
+ "literal",
116
+ [
117
+ "pedestrian",
118
+ "platform",
119
+ "pier"
120
+ ]
121
+ ]
122
+ ],
123
+ "paint": {
124
+ "fill-color": "#F0F0F0"
125
+ }
126
+ },
127
+ {
128
+ "id": "water",
129
+ "type": "fill",
130
+ "source": "basemap",
131
+ "source-layer": "water",
132
+ "filter": [
133
+ "all",
134
+ [
135
+ "==",
136
+ [
137
+ "geometry-type"
138
+ ],
139
+ "Polygon"
140
+ ],
141
+ [
142
+ "!=",
143
+ [
144
+ "get",
145
+ "kind"
146
+ ],
147
+ "swimming_pool"
148
+ ]
149
+ ],
150
+ "paint": {
151
+ "fill-color": "#DEDEDE"
152
+ }
153
+ },
154
+ {
155
+ "id": "waterway",
156
+ "type": "line",
157
+ "source": "basemap",
158
+ "source-layer": "water",
159
+ "filter": [
160
+ "all",
161
+ [
162
+ "==",
163
+ [
164
+ "geometry-type"
165
+ ],
166
+ "LineString"
167
+ ],
168
+ [
169
+ "in",
170
+ [
171
+ "get",
172
+ "kind"
173
+ ],
174
+ [
175
+ "literal",
176
+ [
177
+ "river",
178
+ "stream"
179
+ ]
180
+ ]
181
+ ]
182
+ ],
183
+ "paint": {
184
+ "line-color": "#B4B4B4",
185
+ "line-width": [
186
+ "interpolate",
187
+ [
188
+ "linear"
189
+ ],
190
+ [
191
+ "zoom"
192
+ ],
193
+ 9,
194
+ 0.6,
195
+ 14,
196
+ 2.4,
197
+ 16,
198
+ 5
199
+ ]
200
+ }
201
+ },
202
+ {
203
+ "id": "buildings",
204
+ "type": "fill",
205
+ "source": "basemap",
206
+ "source-layer": "buildings",
207
+ "minzoom": 13,
208
+ "paint": {
209
+ "fill-color": "#EDEDED",
210
+ "fill-opacity": [
211
+ "interpolate",
212
+ [
213
+ "linear"
214
+ ],
215
+ [
216
+ "zoom"
217
+ ],
218
+ 13,
219
+ 0,
220
+ 14.5,
221
+ 1
222
+ ]
223
+ }
224
+ },
225
+ {
226
+ "id": "roads-path",
227
+ "type": "line",
228
+ "source": "basemap",
229
+ "source-layer": "roads",
230
+ "filter": [
231
+ "in",
232
+ [
233
+ "get",
234
+ "kind"
235
+ ],
236
+ [
237
+ "literal",
238
+ [
239
+ "path",
240
+ "other"
241
+ ]
242
+ ]
243
+ ],
244
+ "minzoom": 14,
245
+ "paint": {
246
+ "line-color": "#D2D2D2",
247
+ "line-width": [
248
+ "interpolate",
249
+ [
250
+ "linear"
251
+ ],
252
+ [
253
+ "zoom"
254
+ ],
255
+ 14,
256
+ 0.5,
257
+ 18,
258
+ 2.5
259
+ ]
260
+ }
261
+ },
262
+ {
263
+ "id": "roads-minor",
264
+ "type": "line",
265
+ "source": "basemap",
266
+ "source-layer": "roads",
267
+ "filter": [
268
+ "==",
269
+ [
270
+ "get",
271
+ "kind"
272
+ ],
273
+ "minor_road"
274
+ ],
275
+ "paint": {
276
+ "line-color": "#C0C0C0",
277
+ "line-width": [
278
+ "interpolate",
279
+ [
280
+ "linear"
281
+ ],
282
+ [
283
+ "zoom"
284
+ ],
285
+ 12,
286
+ 0.6,
287
+ 15,
288
+ 2.5,
289
+ 18,
290
+ 10
291
+ ]
292
+ }
293
+ },
294
+ {
295
+ "id": "roads-medium",
296
+ "type": "line",
297
+ "source": "basemap",
298
+ "source-layer": "roads",
299
+ "filter": [
300
+ "==",
301
+ [
302
+ "get",
303
+ "kind"
304
+ ],
305
+ "medium_road"
306
+ ],
307
+ "paint": {
308
+ "line-color": "#8E8E8E",
309
+ "line-width": [
310
+ "interpolate",
311
+ [
312
+ "linear"
313
+ ],
314
+ [
315
+ "zoom"
316
+ ],
317
+ 10,
318
+ 0.8,
319
+ 15,
320
+ 3.5,
321
+ 18,
322
+ 14
323
+ ]
324
+ }
325
+ },
326
+ {
327
+ "id": "roads-major",
328
+ "type": "line",
329
+ "source": "basemap",
330
+ "source-layer": "roads",
331
+ "filter": [
332
+ "==",
333
+ [
334
+ "get",
335
+ "kind"
336
+ ],
337
+ "major_road"
338
+ ],
339
+ "paint": {
340
+ "line-color": "#5E5E5E",
341
+ "line-width": [
342
+ "interpolate",
343
+ [
344
+ "linear"
345
+ ],
346
+ [
347
+ "zoom"
348
+ ],
349
+ 8,
350
+ 0.8,
351
+ 15,
352
+ 4.5,
353
+ 18,
354
+ 18
355
+ ]
356
+ }
357
+ },
358
+ {
359
+ "id": "roads-highway-casing",
360
+ "type": "line",
361
+ "source": "basemap",
362
+ "source-layer": "roads",
363
+ "filter": [
364
+ "==",
365
+ [
366
+ "get",
367
+ "kind"
368
+ ],
369
+ "highway"
370
+ ],
371
+ "layout": {
372
+ "line-cap": "round",
373
+ "line-join": "round"
374
+ },
375
+ "paint": {
376
+ "line-color": "#2B2B2B",
377
+ "line-width": [
378
+ "interpolate",
379
+ [
380
+ "linear"
381
+ ],
382
+ [
383
+ "zoom"
384
+ ],
385
+ 6,
386
+ 1.6,
387
+ 15,
388
+ 8,
389
+ 18,
390
+ 26
391
+ ]
392
+ }
393
+ },
394
+ {
395
+ "id": "roads-highway",
396
+ "type": "line",
397
+ "source": "basemap",
398
+ "source-layer": "roads",
399
+ "filter": [
400
+ "==",
401
+ [
402
+ "get",
403
+ "kind"
404
+ ],
405
+ "highway"
406
+ ],
407
+ "layout": {
408
+ "line-cap": "round",
409
+ "line-join": "round"
410
+ },
411
+ "paint": {
412
+ "line-color": "#FFFFFF",
413
+ "line-width": [
414
+ "interpolate",
415
+ [
416
+ "linear"
417
+ ],
418
+ [
419
+ "zoom"
420
+ ],
421
+ 6,
422
+ 0.8,
423
+ 15,
424
+ 5.5,
425
+ 18,
426
+ 20
427
+ ]
428
+ }
429
+ },
430
+ {
431
+ "id": "rail",
432
+ "type": "line",
433
+ "source": "basemap",
434
+ "source-layer": "roads",
435
+ "filter": [
436
+ "==",
437
+ [
438
+ "get",
439
+ "kind"
440
+ ],
441
+ "rail"
442
+ ],
443
+ "minzoom": 11,
444
+ "paint": {
445
+ "line-color": "#6E6E6E",
446
+ "line-width": [
447
+ "interpolate",
448
+ [
449
+ "linear"
450
+ ],
451
+ [
452
+ "zoom"
453
+ ],
454
+ 11,
455
+ 1.2,
456
+ 15,
457
+ 2.6,
458
+ 18,
459
+ 4.5
460
+ ]
461
+ }
462
+ },
463
+ {
464
+ "id": "rail-hatch",
465
+ "type": "line",
466
+ "source": "basemap",
467
+ "source-layer": "roads",
468
+ "minzoom": 11,
469
+ "filter": [
470
+ "==",
471
+ [
472
+ "get",
473
+ "kind"
474
+ ],
475
+ "rail"
476
+ ],
477
+ "paint": {
478
+ "line-color": "#FFFFFF",
479
+ "line-width": [
480
+ "interpolate",
481
+ [
482
+ "linear"
483
+ ],
484
+ [
485
+ "zoom"
486
+ ],
487
+ 11,
488
+ 0.6,
489
+ 15,
490
+ 1.3,
491
+ 18,
492
+ 2.2
493
+ ],
494
+ "line-dasharray": [
495
+ 1,
496
+ 2.2
497
+ ]
498
+ }
499
+ },
500
+ {
501
+ "id": "boundaries",
502
+ "type": "line",
503
+ "source": "basemap",
504
+ "source-layer": "boundaries",
505
+ "paint": {
506
+ "line-color": "#9A9A9A",
507
+ "line-width": [
508
+ "interpolate",
509
+ [
510
+ "linear"
511
+ ],
512
+ [
513
+ "zoom"
514
+ ],
515
+ 3,
516
+ 0.6,
517
+ 10,
518
+ 1.6
519
+ ],
520
+ "line-dasharray": [
521
+ 3,
522
+ 2
523
+ ]
524
+ }
525
+ },
526
+ {
527
+ "id": "station-dot",
528
+ "type": "circle",
529
+ "source": "basemap",
530
+ "source-layer": "pois",
531
+ "filter": [
532
+ "all",
533
+ [
534
+ "==",
535
+ [
536
+ "get",
537
+ "kind"
538
+ ],
539
+ "station"
540
+ ],
541
+ [
542
+ "<=",
543
+ [
544
+ "get",
545
+ "min_zoom"
546
+ ],
547
+ [
548
+ "zoom"
549
+ ]
550
+ ]
551
+ ],
552
+ "minzoom": 11,
553
+ "paint": {
554
+ "circle-radius": [
555
+ "interpolate",
556
+ [
557
+ "linear"
558
+ ],
559
+ [
560
+ "zoom"
561
+ ],
562
+ 11,
563
+ 5,
564
+ 15,
565
+ 7
566
+ ],
567
+ "circle-color": "#FFFFFF",
568
+ "circle-stroke-color": "#000000",
569
+ "circle-stroke-width": [
570
+ "interpolate",
571
+ [
572
+ "linear"
573
+ ],
574
+ [
575
+ "zoom"
576
+ ],
577
+ 11,
578
+ 3,
579
+ 15,
580
+ 3.5
581
+ ]
582
+ }
583
+ },
584
+ {
585
+ "id": "label-place-city",
586
+ "type": "symbol",
587
+ "source": "basemap",
588
+ "source-layer": "places",
589
+ "filter": [
590
+ "all",
591
+ [
592
+ "in",
593
+ [
594
+ "get",
595
+ "kind"
596
+ ],
597
+ [
598
+ "literal",
599
+ [
600
+ "locality",
601
+ "region",
602
+ "country"
603
+ ]
604
+ ]
605
+ ],
606
+ [
607
+ "<=",
608
+ [
609
+ "get",
610
+ "min_zoom"
611
+ ],
612
+ [
613
+ "zoom"
614
+ ]
615
+ ]
616
+ ],
617
+ "layout": {
618
+ "text-field": [
619
+ "coalesce",
620
+ [
621
+ "get",
622
+ "name:ja"
623
+ ],
624
+ [
625
+ "get",
626
+ "name"
627
+ ]
628
+ ],
629
+ "text-font": [
630
+ "Noto Sans Regular"
631
+ ],
632
+ "text-size": [
633
+ "interpolate",
634
+ [
635
+ "linear"
636
+ ],
637
+ [
638
+ "zoom"
639
+ ],
640
+ 5,
641
+ 11,
642
+ 12,
643
+ 17
644
+ ],
645
+ "text-max-width": 7
646
+ },
647
+ "paint": {
648
+ "text-color": "#000000",
649
+ "text-halo-color": "#FFFFFF",
650
+ "text-halo-width": 1.4
651
+ }
652
+ },
653
+ {
654
+ "id": "label-station",
655
+ "type": "symbol",
656
+ "source": "basemap",
657
+ "source-layer": "pois",
658
+ "filter": [
659
+ "all",
660
+ [
661
+ "==",
662
+ [
663
+ "get",
664
+ "kind"
665
+ ],
666
+ "station"
667
+ ],
668
+ [
669
+ "<=",
670
+ [
671
+ "get",
672
+ "min_zoom"
673
+ ],
674
+ [
675
+ "zoom"
676
+ ]
677
+ ]
678
+ ],
679
+ "minzoom": 11,
680
+ "layout": {
681
+ "text-field": [
682
+ "coalesce",
683
+ [
684
+ "get",
685
+ "name:ja"
686
+ ],
687
+ [
688
+ "get",
689
+ "name"
690
+ ]
691
+ ],
692
+ "text-font": [
693
+ "Noto Sans Regular"
694
+ ],
695
+ "text-size": [
696
+ "interpolate",
697
+ [
698
+ "linear"
699
+ ],
700
+ [
701
+ "zoom"
702
+ ],
703
+ 11,
704
+ 10,
705
+ 16,
706
+ 13
707
+ ],
708
+ "text-anchor": "top",
709
+ "text-offset": [
710
+ 0,
711
+ 0.6
712
+ ],
713
+ "text-max-width": 8,
714
+ "text-optional": true,
715
+ "symbol-sort-key": [
716
+ "get",
717
+ "min_zoom"
718
+ ]
719
+ },
720
+ "paint": {
721
+ "text-color": "#1A1A1A",
722
+ "text-halo-color": "#FFFFFF",
723
+ "text-halo-width": 1.4
724
+ }
725
+ },
726
+ {
727
+ "id": "label-place-neighbourhood",
728
+ "type": "symbol",
729
+ "source": "basemap",
730
+ "source-layer": "places",
731
+ "filter": [
732
+ "all",
733
+ [
734
+ "==",
735
+ [
736
+ "get",
737
+ "kind"
738
+ ],
739
+ "neighbourhood"
740
+ ],
741
+ [
742
+ "<=",
743
+ [
744
+ "get",
745
+ "min_zoom"
746
+ ],
747
+ [
748
+ "zoom"
749
+ ]
750
+ ]
751
+ ],
752
+ "minzoom": 13,
753
+ "layout": {
754
+ "text-field": [
755
+ "coalesce",
756
+ [
757
+ "get",
758
+ "name:ja"
759
+ ],
760
+ [
761
+ "get",
762
+ "name"
763
+ ]
764
+ ],
765
+ "text-font": [
766
+ "Noto Sans Regular"
767
+ ],
768
+ "text-size": [
769
+ "interpolate",
770
+ [
771
+ "linear"
772
+ ],
773
+ [
774
+ "zoom"
775
+ ],
776
+ 13,
777
+ 10,
778
+ 16,
779
+ 13
780
+ ],
781
+ "text-max-width": 8
782
+ },
783
+ "paint": {
784
+ "text-color": "#444444",
785
+ "text-halo-color": "#FFFFFF",
786
+ "text-halo-width": 1.2
787
+ }
788
+ },
789
+ {
790
+ "id": "label-water",
791
+ "type": "symbol",
792
+ "source": "basemap",
793
+ "source-layer": "water",
794
+ "filter": [
795
+ "all",
796
+ [
797
+ "has",
798
+ "name"
799
+ ],
800
+ [
801
+ "<=",
802
+ [
803
+ "get",
804
+ "min_zoom"
805
+ ],
806
+ [
807
+ "zoom"
808
+ ]
809
+ ]
810
+ ],
811
+ "minzoom": 12,
812
+ "layout": {
813
+ "text-field": [
814
+ "coalesce",
815
+ [
816
+ "get",
817
+ "name:ja"
818
+ ],
819
+ [
820
+ "get",
821
+ "name"
822
+ ]
823
+ ],
824
+ "text-font": [
825
+ "Noto Sans Regular"
826
+ ],
827
+ "text-size": [
828
+ "interpolate",
829
+ [
830
+ "linear"
831
+ ],
832
+ [
833
+ "zoom"
834
+ ],
835
+ 12,
836
+ 10,
837
+ 16,
838
+ 13
839
+ ]
840
+ },
841
+ "paint": {
842
+ "text-color": "#666666",
843
+ "text-halo-color": "#FFFFFF",
844
+ "text-halo-width": 1.2
845
+ }
846
+ },
847
+ {
848
+ "id": "label-poi",
849
+ "type": "symbol",
850
+ "source": "basemap",
851
+ "source-layer": "pois",
852
+ "minzoom": 14,
853
+ "filter": [
854
+ "all",
855
+ [
856
+ "has",
857
+ "name"
858
+ ],
859
+ [
860
+ "<=",
861
+ [
862
+ "get",
863
+ "min_zoom"
864
+ ],
865
+ [
866
+ "zoom"
867
+ ]
868
+ ],
869
+ [
870
+ "in",
871
+ [
872
+ "get",
873
+ "kind"
874
+ ],
875
+ [
876
+ "literal",
877
+ [
878
+ "convenience",
879
+ "supermarket",
880
+ "department_store",
881
+ "mall",
882
+ "pharmacy",
883
+ "bank",
884
+ "post_office",
885
+ "hotel",
886
+ "hospital",
887
+ "police",
888
+ "fire_station",
889
+ "school",
890
+ "university",
891
+ "college",
892
+ "library",
893
+ "museum",
894
+ "theatre",
895
+ "cinema",
896
+ "attraction",
897
+ "park",
898
+ "place_of_worship"
899
+ ]
900
+ ]
901
+ ]
902
+ ],
903
+ "layout": {
904
+ "text-field": [
905
+ "coalesce",
906
+ [
907
+ "get",
908
+ "name:ja"
909
+ ],
910
+ [
911
+ "get",
912
+ "name"
913
+ ]
914
+ ],
915
+ "text-font": [
916
+ "Noto Sans Regular"
917
+ ],
918
+ "text-size": [
919
+ "interpolate",
920
+ [
921
+ "linear"
922
+ ],
923
+ [
924
+ "zoom"
925
+ ],
926
+ 14,
927
+ 9.5,
928
+ 17,
929
+ 11.5
930
+ ],
931
+ "text-anchor": "top",
932
+ "text-offset": [
933
+ 0,
934
+ 0.4
935
+ ],
936
+ "text-max-width": 7,
937
+ "text-optional": true,
938
+ "symbol-sort-key": [
939
+ "get",
940
+ "min_zoom"
941
+ ]
942
+ },
943
+ "paint": {
944
+ "text-color": "#444444",
945
+ "text-halo-color": "#FFFFFF",
946
+ "text-halo-width": 1.2
947
+ }
948
+ }
949
+ ]
950
+ }