@versatiles/style 4.0.0 → 4.0.2
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.
- package/dist/style/colorful.js +146 -146
- package/package.json +1 -1
package/dist/style/colorful.js
CHANGED
|
@@ -650,7 +650,7 @@ export default class Colorful extends StyleBuilder {
|
|
|
650
650
|
// markings
|
|
651
651
|
'marking-oneway{-reverse,}': {
|
|
652
652
|
minzoom: 16,
|
|
653
|
-
image: 'marking-arrow
|
|
653
|
+
image: 'marking-arrow',
|
|
654
654
|
opacity: { 16: 0, 17: 0.7 },
|
|
655
655
|
font: fonts.regular,
|
|
656
656
|
},
|
|
@@ -672,37 +672,37 @@ export default class Colorful extends StyleBuilder {
|
|
|
672
672
|
},
|
|
673
673
|
'symbol-transit-airport': {
|
|
674
674
|
minzoom: 12,
|
|
675
|
-
image: 'icon-airport
|
|
675
|
+
image: 'icon-airport',
|
|
676
676
|
iconSize: { 12: 0.5, 14: 1 },
|
|
677
677
|
},
|
|
678
678
|
'symbol-transit-airfield': {
|
|
679
679
|
minzoom: 13,
|
|
680
|
-
image: 'icon-airfield
|
|
680
|
+
image: 'icon-airfield',
|
|
681
681
|
iconSize: { 13: 0.5, 15: 1 },
|
|
682
682
|
},
|
|
683
683
|
'symbol-transit-station': {
|
|
684
684
|
minzoom: 13,
|
|
685
|
-
image: 'icon-rail
|
|
685
|
+
image: 'icon-rail',
|
|
686
686
|
iconSize: { 13: 0.5, 15: 1 },
|
|
687
687
|
},
|
|
688
688
|
'symbol-transit-lightrail': {
|
|
689
689
|
minzoom: 14,
|
|
690
|
-
image: 'icon-
|
|
690
|
+
image: 'icon-rail_light',
|
|
691
691
|
iconSize: { 14: 0.5, 16: 1 },
|
|
692
692
|
},
|
|
693
693
|
'symbol-transit-subway': {
|
|
694
694
|
minzoom: 14,
|
|
695
|
-
image: 'icon-
|
|
695
|
+
image: 'icon-rail_metro',
|
|
696
696
|
iconSize: { 14: 0.5, 16: 1 },
|
|
697
697
|
},
|
|
698
698
|
'symbol-transit-tram': {
|
|
699
699
|
minzoom: 15,
|
|
700
|
-
image: 'transport-tram
|
|
700
|
+
image: 'transport-tram',
|
|
701
701
|
iconSize: { 15: 0.5, 17: 1 },
|
|
702
702
|
},
|
|
703
703
|
'symbol-transit-bus': {
|
|
704
704
|
minzoom: 16,
|
|
705
|
-
image: 'icon-bus
|
|
705
|
+
image: 'icon-bus',
|
|
706
706
|
iconSize: { 16: 0.5, 18: 1 },
|
|
707
707
|
},
|
|
708
708
|
// TODO: localized symbols? depends on shortbread
|
|
@@ -719,175 +719,175 @@ export default class Colorful extends StyleBuilder {
|
|
|
719
719
|
'poi-amenity': {
|
|
720
720
|
image: ['match',
|
|
721
721
|
['get', 'amenity'],
|
|
722
|
-
'arts_centre', 'icon-art_gallery
|
|
723
|
-
'atm', 'icon-atm
|
|
724
|
-
'bank', 'icon-bank
|
|
725
|
-
'bar', 'icon-bar
|
|
726
|
-
'bench', 'icon-bench
|
|
727
|
-
'bicycle_rental', 'icon-bicycle_share
|
|
728
|
-
'biergarten', 'icon-beergarden
|
|
729
|
-
'cafe', 'icon-cafe
|
|
730
|
-
'car_rental', 'icon-car_rental
|
|
731
|
-
'car_sharing', 'icon-car_rental
|
|
732
|
-
'car_wash', 'icon-car_wash
|
|
733
|
-
'cinema', 'icon-cinema
|
|
734
|
-
//'clinic', 'icon-clinic
|
|
735
|
-
'college', 'icon-college
|
|
736
|
-
'community_centre', 'icon-community
|
|
737
|
-
//'courthouse', 'icon-courthouse
|
|
738
|
-
'dentist', 'icon-dentist
|
|
739
|
-
'doctors', 'icon-doctor
|
|
740
|
-
'dog_park', 'icon-dog_park
|
|
741
|
-
'drinking_water', 'icon-drinking_water
|
|
742
|
-
'embassy', 'icon-embassy
|
|
743
|
-
'fast_food', 'icon-fast_food
|
|
744
|
-
'fire_station', 'icon-fire_station
|
|
745
|
-
//'food_court', 'icon-food_court
|
|
746
|
-
'fountain', 'icon-fountain
|
|
747
|
-
'grave_yard', 'icon-cemetery
|
|
748
|
-
'hospital', 'icon-hospital
|
|
749
|
-
'hunting_stand', 'icon-huntingstand
|
|
750
|
-
'library', 'icon-library
|
|
751
|
-
'marketplace', 'icon-marketplace
|
|
752
|
-
'nightclub', 'icon-nightclub
|
|
753
|
-
'nursing_home', 'icon-nursinghome
|
|
754
|
-
'pharmacy', 'icon-pharmacy
|
|
755
|
-
'place_of_worship', 'icon-place_of_worship
|
|
756
|
-
'playground', 'icon-playground
|
|
757
|
-
'police', 'icon-police
|
|
758
|
-
'post_box', 'icon-
|
|
759
|
-
'post_office', 'icon-post
|
|
760
|
-
'prison', 'icon-prison
|
|
761
|
-
'pub', 'icon-beer
|
|
762
|
-
//'public_building', 'icon-public_building
|
|
763
|
-
'recycling', 'icon-recycling
|
|
764
|
-
'restaurant', 'icon-restaurant
|
|
765
|
-
'school', 'icon-school
|
|
766
|
-
'shelter', 'icon-shelter
|
|
767
|
-
'telephone', 'icon-telephone
|
|
768
|
-
'theatre', 'icon-theatre
|
|
769
|
-
'toilets', 'icon-toilet
|
|
770
|
-
'townhall', 'icon-town_hall
|
|
771
|
-
//'university', 'icon-university
|
|
772
|
-
'vending_machine', 'icon-vendingmachine
|
|
773
|
-
'veterinary', 'icon-veterinary
|
|
774
|
-
'waste_basket', 'icon-waste_basket
|
|
722
|
+
'arts_centre', 'icon-art_gallery',
|
|
723
|
+
'atm', 'icon-atm',
|
|
724
|
+
'bank', 'icon-bank',
|
|
725
|
+
'bar', 'icon-bar',
|
|
726
|
+
'bench', 'icon-bench',
|
|
727
|
+
'bicycle_rental', 'icon-bicycle_share',
|
|
728
|
+
'biergarten', 'icon-beergarden',
|
|
729
|
+
'cafe', 'icon-cafe',
|
|
730
|
+
'car_rental', 'icon-car_rental',
|
|
731
|
+
'car_sharing', 'icon-car_rental',
|
|
732
|
+
'car_wash', 'icon-car_wash',
|
|
733
|
+
'cinema', 'icon-cinema',
|
|
734
|
+
//'clinic', 'icon-clinic',
|
|
735
|
+
'college', 'icon-college',
|
|
736
|
+
'community_centre', 'icon-community',
|
|
737
|
+
//'courthouse', 'icon-courthouse',
|
|
738
|
+
'dentist', 'icon-dentist',
|
|
739
|
+
'doctors', 'icon-doctor',
|
|
740
|
+
'dog_park', 'icon-dog_park',
|
|
741
|
+
'drinking_water', 'icon-drinking_water',
|
|
742
|
+
'embassy', 'icon-embassy',
|
|
743
|
+
'fast_food', 'icon-fast_food',
|
|
744
|
+
'fire_station', 'icon-fire_station',
|
|
745
|
+
//'food_court', 'icon-food_court',
|
|
746
|
+
'fountain', 'icon-fountain',
|
|
747
|
+
'grave_yard', 'icon-cemetery',
|
|
748
|
+
'hospital', 'icon-hospital',
|
|
749
|
+
'hunting_stand', 'icon-huntingstand',
|
|
750
|
+
'library', 'icon-library',
|
|
751
|
+
'marketplace', 'icon-marketplace',
|
|
752
|
+
'nightclub', 'icon-nightclub',
|
|
753
|
+
'nursing_home', 'icon-nursinghome',
|
|
754
|
+
'pharmacy', 'icon-pharmacy',
|
|
755
|
+
'place_of_worship', 'icon-place_of_worship',
|
|
756
|
+
'playground', 'icon-playground',
|
|
757
|
+
'police', 'icon-police',
|
|
758
|
+
'post_box', 'icon-postbox',
|
|
759
|
+
'post_office', 'icon-post',
|
|
760
|
+
'prison', 'icon-prison',
|
|
761
|
+
'pub', 'icon-beer',
|
|
762
|
+
//'public_building', 'icon-public_building',
|
|
763
|
+
'recycling', 'icon-recycling',
|
|
764
|
+
'restaurant', 'icon-restaurant',
|
|
765
|
+
'school', 'icon-school',
|
|
766
|
+
'shelter', 'icon-shelter',
|
|
767
|
+
'telephone', 'icon-telephone',
|
|
768
|
+
'theatre', 'icon-theatre',
|
|
769
|
+
'toilets', 'icon-toilet',
|
|
770
|
+
'townhall', 'icon-town_hall',
|
|
771
|
+
//'university', 'icon-university',
|
|
772
|
+
'vending_machine', 'icon-vendingmachine',
|
|
773
|
+
'veterinary', 'icon-veterinary',
|
|
774
|
+
'waste_basket', 'icon-waste_basket',
|
|
775
775
|
'UNDEFINED',
|
|
776
776
|
],
|
|
777
777
|
},
|
|
778
778
|
'poi-leisure': {
|
|
779
779
|
image: ['match',
|
|
780
780
|
['get', 'leisure'],
|
|
781
|
-
'golf_course', 'icon-golf
|
|
782
|
-
'ice_rink', 'icon-icerink
|
|
783
|
-
'pitch', 'icon-pitch
|
|
784
|
-
//'sports_centre', 'icon-sports_centre
|
|
785
|
-
'stadium', 'icon-stadium
|
|
786
|
-
'swimming_pool', 'icon-swimming
|
|
787
|
-
'water_park', 'icon-waterpark
|
|
788
|
-
'icon-sports
|
|
781
|
+
'golf_course', 'icon-golf',
|
|
782
|
+
'ice_rink', 'icon-icerink',
|
|
783
|
+
'pitch', 'icon-pitch',
|
|
784
|
+
//'sports_centre', 'icon-sports_centre',
|
|
785
|
+
'stadium', 'icon-stadium',
|
|
786
|
+
'swimming_pool', 'icon-swimming',
|
|
787
|
+
'water_park', 'icon-waterpark',
|
|
788
|
+
'icon-sports',
|
|
789
789
|
],
|
|
790
790
|
},
|
|
791
791
|
'poi-tourism': {
|
|
792
792
|
image: ['match',
|
|
793
793
|
['get', 'tourism'],
|
|
794
|
-
//'alpine_hut', 'icon-alpine_hut
|
|
795
|
-
//'bed_and_breakfast', 'icon-bed_and_breakfast
|
|
796
|
-
//'camp_site', 'icon-camp_site
|
|
797
|
-
//'caravan_site', 'icon-caravan_site
|
|
798
|
-
'chalet', 'icon-chalet
|
|
799
|
-
//'guest_house', 'icon-guest_house
|
|
800
|
-
//'hostel', 'icon-hostel
|
|
801
|
-
//'hotel', 'icon-hotel
|
|
802
|
-
'information', 'transport-information
|
|
803
|
-
//'motel', 'icon-motel
|
|
804
|
-
'picnic_site', 'icon-picnic_site
|
|
805
|
-
//'theme_park', 'icon-theme_park
|
|
806
|
-
'viewpoint', 'icon-viewpoint
|
|
807
|
-
'zoo', 'icon-zoo
|
|
794
|
+
//'alpine_hut', 'icon-alpine_hut',
|
|
795
|
+
//'bed_and_breakfast', 'icon-bed_and_breakfast',
|
|
796
|
+
//'camp_site', 'icon-camp_site',
|
|
797
|
+
//'caravan_site', 'icon-caravan_site',
|
|
798
|
+
'chalet', 'icon-chalet',
|
|
799
|
+
//'guest_house', 'icon-guest_house',
|
|
800
|
+
//'hostel', 'icon-hostel',
|
|
801
|
+
//'hotel', 'icon-hotel',
|
|
802
|
+
'information', 'transport-information',
|
|
803
|
+
//'motel', 'icon-motel',
|
|
804
|
+
'picnic_site', 'icon-picnic_site',
|
|
805
|
+
//'theme_park', 'icon-theme_park',
|
|
806
|
+
'viewpoint', 'icon-viewpoint',
|
|
807
|
+
'zoo', 'icon-zoo',
|
|
808
808
|
'UNDEFINED',
|
|
809
809
|
],
|
|
810
810
|
},
|
|
811
811
|
'poi-shop': {
|
|
812
812
|
image: ['match',
|
|
813
813
|
['get', 'shop'],
|
|
814
|
-
'alcohol', 'icon-alcohol_shop
|
|
815
|
-
'bakery', 'icon-bakery
|
|
816
|
-
'beauty', 'icon-beauty
|
|
817
|
-
'beverages', 'icon-beverages
|
|
818
|
-
//'bicycle', 'icon-bicycle
|
|
819
|
-
'books', 'icon-books
|
|
820
|
-
'butcher', 'icon-butcher
|
|
821
|
-
//'car', 'icon-car
|
|
822
|
-
'chemist', 'icon-chemist
|
|
823
|
-
'clothes', 'icon-clothes
|
|
824
|
-
//'computer', 'icon-computer
|
|
825
|
-
//'convinience', 'icon-convinience
|
|
826
|
-
//'department_store', 'icon-department_store
|
|
827
|
-
'doityourself', 'icon-doityourself
|
|
828
|
-
'dry_cleaning', 'icon-drycleaning
|
|
829
|
-
'florist', 'icon-florist
|
|
830
|
-
'furniture', 'icon-furniture
|
|
831
|
-
'garden_centre', 'icon-garden_centre
|
|
832
|
-
'general', 'icon-shop
|
|
833
|
-
'gift', 'icon-gift
|
|
834
|
-
'greengrocer', 'icon-greengrocer
|
|
835
|
-
'hairdresser', 'icon-hairdresser
|
|
836
|
-
'hardware', 'icon-hardware
|
|
837
|
-
'jewelry', 'icon-jewelry_store
|
|
838
|
-
'kiosk', 'icon-kiosk
|
|
839
|
-
'laundry', 'icon-laundry
|
|
840
|
-
//'mall', 'icon-mall
|
|
841
|
-
//'mobile_phone', 'icon-mobile_phone
|
|
842
|
-
'newsagent', 'icon-newsagent
|
|
843
|
-
'optican', 'icon-optician
|
|
844
|
-
'outdoor', 'icon-outdoor
|
|
845
|
-
'shoes', 'icon-shoes
|
|
846
|
-
'sports', 'icon-sports
|
|
847
|
-
'stationery', 'icon-stationery
|
|
848
|
-
//'supermarket', 'icon-supermarket
|
|
849
|
-
'toys', 'icon-toys
|
|
850
|
-
'travel_agency', 'icon-travel_agent
|
|
851
|
-
'video', 'icon-video
|
|
852
|
-
'icon-shop
|
|
814
|
+
'alcohol', 'icon-alcohol_shop',
|
|
815
|
+
'bakery', 'icon-bakery',
|
|
816
|
+
'beauty', 'icon-beauty',
|
|
817
|
+
'beverages', 'icon-beverages',
|
|
818
|
+
//'bicycle', 'icon-bicycle',
|
|
819
|
+
'books', 'icon-books',
|
|
820
|
+
'butcher', 'icon-butcher',
|
|
821
|
+
//'car', 'icon-car',
|
|
822
|
+
'chemist', 'icon-chemist',
|
|
823
|
+
'clothes', 'icon-clothes',
|
|
824
|
+
//'computer', 'icon-computer',
|
|
825
|
+
//'convinience', 'icon-convinience',
|
|
826
|
+
//'department_store', 'icon-department_store',
|
|
827
|
+
'doityourself', 'icon-doityourself',
|
|
828
|
+
'dry_cleaning', 'icon-drycleaning',
|
|
829
|
+
'florist', 'icon-florist',
|
|
830
|
+
'furniture', 'icon-furniture',
|
|
831
|
+
'garden_centre', 'icon-garden_centre',
|
|
832
|
+
'general', 'icon-shop',
|
|
833
|
+
'gift', 'icon-gift',
|
|
834
|
+
'greengrocer', 'icon-greengrocer',
|
|
835
|
+
'hairdresser', 'icon-hairdresser',
|
|
836
|
+
'hardware', 'icon-hardware',
|
|
837
|
+
'jewelry', 'icon-jewelry_store',
|
|
838
|
+
'kiosk', 'icon-kiosk',
|
|
839
|
+
'laundry', 'icon-laundry',
|
|
840
|
+
//'mall', 'icon-mall',
|
|
841
|
+
//'mobile_phone', 'icon-mobile_phone',
|
|
842
|
+
'newsagent', 'icon-newsagent',
|
|
843
|
+
'optican', 'icon-optician',
|
|
844
|
+
'outdoor', 'icon-outdoor',
|
|
845
|
+
'shoes', 'icon-shoes',
|
|
846
|
+
'sports', 'icon-sports',
|
|
847
|
+
'stationery', 'icon-stationery',
|
|
848
|
+
//'supermarket', 'icon-supermarket',
|
|
849
|
+
'toys', 'icon-toys',
|
|
850
|
+
'travel_agency', 'icon-travel_agent',
|
|
851
|
+
'video', 'icon-video',
|
|
852
|
+
'icon-shop',
|
|
853
853
|
],
|
|
854
854
|
},
|
|
855
855
|
'poi-man_made': {
|
|
856
856
|
image: ['match',
|
|
857
857
|
['get', 'man_made'],
|
|
858
|
-
'lighthouse', 'icon-lighthouse
|
|
859
|
-
'surveillance', 'icon-surveillance
|
|
860
|
-
'tower', 'icon-observation_tower
|
|
861
|
-
//'wastewater_plant', 'icon-wastewater_plant
|
|
862
|
-
//'water_well', 'icon-water_well
|
|
863
|
-
//'water_works', 'icon-water_works
|
|
864
|
-
'watermill', 'icon-watermill
|
|
865
|
-
'windmill', 'icon-windmill
|
|
858
|
+
'lighthouse', 'icon-lighthouse',
|
|
859
|
+
'surveillance', 'icon-surveillance',
|
|
860
|
+
'tower', 'icon-observation_tower',
|
|
861
|
+
//'wastewater_plant', 'icon-wastewater_plant',
|
|
862
|
+
//'water_well', 'icon-water_well',
|
|
863
|
+
//'water_works', 'icon-water_works',
|
|
864
|
+
'watermill', 'icon-watermill',
|
|
865
|
+
'windmill', 'icon-windmill',
|
|
866
866
|
'UNDEFINED',
|
|
867
867
|
],
|
|
868
868
|
},
|
|
869
869
|
'poi-historic': {
|
|
870
870
|
image: ['match',
|
|
871
871
|
['get', 'historic'],
|
|
872
|
-
//'archaelogical_site', 'icon-archaelogical_site
|
|
873
|
-
'artwork', 'icon-artwork
|
|
874
|
-
//'battlefield', 'icon-battlefield
|
|
875
|
-
'castle', 'icon-castle
|
|
876
|
-
//'fort', 'icon-fort
|
|
877
|
-
//'memorial', 'icon-memorial
|
|
878
|
-
'monument', 'icon-monument
|
|
879
|
-
//'ruins', 'icon-ruins
|
|
880
|
-
//'wayside_cross', 'icon-wayside_cross
|
|
881
|
-
'wayside_shrine', 'icon-shrine
|
|
882
|
-
'icon-historic
|
|
872
|
+
//'archaelogical_site', 'icon-archaelogical_site',
|
|
873
|
+
'artwork', 'icon-artwork',
|
|
874
|
+
//'battlefield', 'icon-battlefield',
|
|
875
|
+
'castle', 'icon-castle',
|
|
876
|
+
//'fort', 'icon-fort',
|
|
877
|
+
//'memorial', 'icon-memorial',
|
|
878
|
+
'monument', 'icon-monument',
|
|
879
|
+
//'ruins', 'icon-ruins',
|
|
880
|
+
//'wayside_cross', 'icon-wayside_cross',
|
|
881
|
+
'wayside_shrine', 'icon-shrine',
|
|
882
|
+
'icon-historic',
|
|
883
883
|
],
|
|
884
884
|
},
|
|
885
885
|
'poi-emergency': {
|
|
886
886
|
image: ['match',
|
|
887
887
|
['get', 'emergency'],
|
|
888
|
-
'defibrillator', 'icon-defibrillator
|
|
889
|
-
'fire_hydrant', 'icon-hydrant
|
|
890
|
-
'phone', 'icon-emergency_phone
|
|
888
|
+
'defibrillator', 'icon-defibrillator',
|
|
889
|
+
'fire_hydrant', 'icon-hydrant',
|
|
890
|
+
'phone', 'icon-emergency_phone',
|
|
891
891
|
'UNDEFINED',
|
|
892
892
|
],
|
|
893
893
|
},
|
|
@@ -895,14 +895,14 @@ export default class Colorful extends StyleBuilder {
|
|
|
895
895
|
'poi-highway': {
|
|
896
896
|
image: ['match',
|
|
897
897
|
['get', 'highway'],
|
|
898
|
-
//'emergency_access_point', 'icon-emergency_access_point
|
|
898
|
+
//'emergency_access_point', 'icon-emergency_access_point',
|
|
899
899
|
'UNDEFINED'
|
|
900
900
|
]
|
|
901
901
|
},
|
|
902
902
|
'poi-office': {
|
|
903
903
|
image: ['match',
|
|
904
904
|
['get', 'office'],
|
|
905
|
-
//'diplomatic', 'icon-diplomatic
|
|
905
|
+
//'diplomatic', 'icon-diplomatic',
|
|
906
906
|
'UNDEFINED'
|
|
907
907
|
]
|
|
908
908
|
},
|