@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.
Files changed (2) hide show
  1. package/dist/style/colorful.js +146 -146
  2. package/package.json +1 -1
@@ -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-15',
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-22',
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-22',
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-22',
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-rail-light-22',
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-rail-metro-22',
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-22',
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-22',
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-22',
723
- 'atm', 'icon-atm-22',
724
- 'bank', 'icon-bank-22',
725
- 'bar', 'icon-bar-22',
726
- 'bench', 'icon-bench-22',
727
- 'bicycle_rental', 'icon-bicycle_share-22',
728
- 'biergarten', 'icon-beergarden-22',
729
- 'cafe', 'icon-cafe-22',
730
- 'car_rental', 'icon-car_rental-22',
731
- 'car_sharing', 'icon-car_rental-22',
732
- 'car_wash', 'icon-car_wash-22',
733
- 'cinema', 'icon-cinema-22',
734
- //'clinic', 'icon-clinic-22',
735
- 'college', 'icon-college-22',
736
- 'community_centre', 'icon-community-22',
737
- //'courthouse', 'icon-courthouse-22',
738
- 'dentist', 'icon-dentist-22',
739
- 'doctors', 'icon-doctor-22',
740
- 'dog_park', 'icon-dog_park-22',
741
- 'drinking_water', 'icon-drinking_water-22',
742
- 'embassy', 'icon-embassy-22',
743
- 'fast_food', 'icon-fast_food-22',
744
- 'fire_station', 'icon-fire_station-22',
745
- //'food_court', 'icon-food_court-22',
746
- 'fountain', 'icon-fountain-22',
747
- 'grave_yard', 'icon-cemetery-22',
748
- 'hospital', 'icon-hospital-22',
749
- 'hunting_stand', 'icon-huntingstand-22',
750
- 'library', 'icon-library-22',
751
- 'marketplace', 'icon-marketplace-22',
752
- 'nightclub', 'icon-nightclub-22',
753
- 'nursing_home', 'icon-nursinghome-22',
754
- 'pharmacy', 'icon-pharmacy-22',
755
- 'place_of_worship', 'icon-place_of_worship-22',
756
- 'playground', 'icon-playground-22',
757
- 'police', 'icon-police-22',
758
- 'post_box', 'icon-post_box-22',
759
- 'post_office', 'icon-post-22',
760
- 'prison', 'icon-prison-22',
761
- 'pub', 'icon-beer-22',
762
- //'public_building', 'icon-public_building-22',
763
- 'recycling', 'icon-recycling-22',
764
- 'restaurant', 'icon-restaurant-22',
765
- 'school', 'icon-school-22',
766
- 'shelter', 'icon-shelter-22',
767
- 'telephone', 'icon-telephone-22',
768
- 'theatre', 'icon-theatre-22',
769
- 'toilets', 'icon-toilet-22',
770
- 'townhall', 'icon-town_hall-22',
771
- //'university', 'icon-university-22',
772
- 'vending_machine', 'icon-vendingmachine-22',
773
- 'veterinary', 'icon-veterinary-22',
774
- 'waste_basket', 'icon-waste_basket-22',
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-22',
782
- 'ice_rink', 'icon-icerink-22',
783
- 'pitch', 'icon-pitch-22',
784
- //'sports_centre', 'icon-sports_centre-22',
785
- 'stadium', 'icon-stadium-22',
786
- 'swimming_pool', 'icon-swimming-22',
787
- 'water_park', 'icon-waterpark-22',
788
- 'icon-sports-22',
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-22',
795
- //'bed_and_breakfast', 'icon-bed_and_breakfast-22',
796
- //'camp_site', 'icon-camp_site-22',
797
- //'caravan_site', 'icon-caravan_site-22',
798
- 'chalet', 'icon-chalet-22',
799
- //'guest_house', 'icon-guest_house-22',
800
- //'hostel', 'icon-hostel-22',
801
- //'hotel', 'icon-hotel-22',
802
- 'information', 'transport-information-22',
803
- //'motel', 'icon-motel-22',
804
- 'picnic_site', 'icon-picnic_site-22',
805
- //'theme_park', 'icon-theme_park-22',
806
- 'viewpoint', 'icon-viewpoint-22',
807
- 'zoo', 'icon-zoo-22',
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-22',
815
- 'bakery', 'icon-bakery-22',
816
- 'beauty', 'icon-beauty-22',
817
- 'beverages', 'icon-beverages-22',
818
- //'bicycle', 'icon-bicycle-22',
819
- 'books', 'icon-books-22',
820
- 'butcher', 'icon-butcher-22',
821
- //'car', 'icon-car-22',
822
- 'chemist', 'icon-chemist-22',
823
- 'clothes', 'icon-clothes-22',
824
- //'computer', 'icon-computer-22',
825
- //'convinience', 'icon-convinience-22',
826
- //'department_store', 'icon-department_store-22',
827
- 'doityourself', 'icon-doityourself-22',
828
- 'dry_cleaning', 'icon-drycleaning-22',
829
- 'florist', 'icon-florist-22',
830
- 'furniture', 'icon-furniture-22',
831
- 'garden_centre', 'icon-garden_centre-22',
832
- 'general', 'icon-shop-22',
833
- 'gift', 'icon-gift-22',
834
- 'greengrocer', 'icon-greengrocer-22',
835
- 'hairdresser', 'icon-hairdresser-22',
836
- 'hardware', 'icon-hardware-22',
837
- 'jewelry', 'icon-jewelry_store-22',
838
- 'kiosk', 'icon-kiosk-22',
839
- 'laundry', 'icon-laundry-22',
840
- //'mall', 'icon-mall-22',
841
- //'mobile_phone', 'icon-mobile_phone-22',
842
- 'newsagent', 'icon-newsagent-22',
843
- 'optican', 'icon-optician-22',
844
- 'outdoor', 'icon-outdoor-22',
845
- 'shoes', 'icon-shoes-22',
846
- 'sports', 'icon-sports-22',
847
- 'stationery', 'icon-stationery-22',
848
- //'supermarket', 'icon-supermarket-22',
849
- 'toys', 'icon-toys-22',
850
- 'travel_agency', 'icon-travel_agent-22',
851
- 'video', 'icon-video-22',
852
- 'icon-shop-22',
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-22',
859
- 'surveillance', 'icon-surveillance-22',
860
- 'tower', 'icon-observation_tower-22',
861
- //'wastewater_plant', 'icon-wastewater_plant-22',
862
- //'water_well', 'icon-water_well-22',
863
- //'water_works', 'icon-water_works-22',
864
- 'watermill', 'icon-watermill-22',
865
- 'windmill', 'icon-windmill-22',
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-22',
873
- 'artwork', 'icon-artwork-22',
874
- //'battlefield', 'icon-battlefield-22',
875
- 'castle', 'icon-castle-22',
876
- //'fort', 'icon-fort-22',
877
- //'memorial', 'icon-memorial-22',
878
- 'monument', 'icon-monument-22',
879
- //'ruins', 'icon-ruins-22',
880
- //'wayside_cross', 'icon-wayside_cross-22',
881
- 'wayside_shrine', 'icon-shrine-22',
882
- 'icon-historic-22',
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-22',
889
- 'fire_hydrant', 'icon-hydrant-22',
890
- 'phone', 'icon-emergency_phone-22',
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-22',
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-22',
905
+ //'diplomatic', 'icon-diplomatic',
906
906
  'UNDEFINED'
907
907
  ]
908
908
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/style",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Generate StyleJSON for MapLibre",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",