@maptrip/map-tiles 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -49,8 +49,8 @@ you create an instance of `MapTripLeafletGridLayer` and add it to the layers of
49
49
  ```js
50
50
  import { MapTripLeafletGridLayer } from "@maptrip/map-tiles";
51
51
 
52
- import L from 'leaflet';
53
- import 'leaflet/dist/leaflet.css';
52
+ import L from "leaflet";
53
+ import "leaflet/dist/leaflet.css";
54
54
 
55
55
  const layer = new MapTripLeafletGridLayer({
56
56
  provider: "TomTom",
@@ -237,7 +237,7 @@ You can specify a third parameter with properties when creating the factory. The
237
237
  | traffic | Add traffic flows to the map tiles (only available for TomTom and HERE maps) | false |
238
238
  | timeout | Load timeout for tiles in milliseconds. Increase this if you have a very slow internet connection | 5000 |
239
239
  | parallelDownloads | The number of tiles that are loaded in parallel | 12 |
240
- | detourProfile | The name of a MapTrip Detour Profile, see *MapTrip Detour* | |
240
+ | detourProfile | The name of a MapTrip Detour Profile, see _MapTrip Detour_ | |
241
241
  | renderingConfig | Set a custom rendering configuration to customize layers, colors, line widths etc. | RENDERING_CONFIG_DEFAULT |
242
242
 
243
243
  This factory initializes a factory with TomTom data and traffic flows:
@@ -274,5 +274,6 @@ To use them, you mapping API has to be able to use both base layers and overlays
274
274
 
275
275
  ## History
276
276
 
277
+ - 1.1.1: Added rendering config for foot_path layer
277
278
  - 1.1.0: Added MapTrip detour profiles
278
279
  - 1.0.8: First public version
package/dist/map-tiles.js CHANGED
@@ -876,6 +876,7 @@ const ta = "https://v${index}.maptrip.de/?tilex=${x}&tiley=${y}&acao=true&contex
876
876
  residential_road: "residential_road",
877
877
  residential_road_oneway: "residential_road_oneway",
878
878
  residential_road_oneway_rev: "residential_road_oneway_rev",
879
+ foot_path: "foot_path",
879
880
  ferry: "ferry",
880
881
  rail: "rail",
881
882
  capital: "metropolis",
@@ -1744,13 +1745,15 @@ const ta = "https://v${index}.maptrip.de/?tilex=${x}&tiley=${y}&acao=true&contex
1744
1745
  from: 17,
1745
1746
  to: 19,
1746
1747
  line: {
1747
- width: 4,
1748
- color: "#cccccc"
1748
+ width: 2,
1749
+ color: "#A5ADB8"
1749
1750
  },
1750
1751
  text: {
1751
1752
  size: 12,
1752
1753
  color: "#606060",
1753
- font: "Open Sans"
1754
+ font: "Open Sans",
1755
+ outlineColor: "#ffffff",
1756
+ outlineWidth: 2
1754
1757
  }
1755
1758
  },
1756
1759
  {
@@ -1758,12 +1761,14 @@ const ta = "https://v${index}.maptrip.de/?tilex=${x}&tiley=${y}&acao=true&contex
1758
1761
  to: 16,
1759
1762
  line: {
1760
1763
  width: 1,
1761
- color: "#cccccc"
1764
+ color: "#A5ADB8"
1762
1765
  },
1763
1766
  text: {
1764
1767
  size: 12,
1765
1768
  color: "#606060",
1766
- font: "Open Sans"
1769
+ font: "Open Sans",
1770
+ outlineColor: "#ffffff",
1771
+ outlineWidth: 2
1767
1772
  }
1768
1773
  },
1769
1774
  {
@@ -1771,7 +1776,7 @@ const ta = "https://v${index}.maptrip.de/?tilex=${x}&tiley=${y}&acao=true&contex
1771
1776
  to: 14,
1772
1777
  line: {
1773
1778
  width: 1,
1774
- color: "#cccccc"
1779
+ color: "#A5ADB8"
1775
1780
  }
1776
1781
  }
1777
1782
  ],
@@ -1881,6 +1886,25 @@ const ta = "https://v${index}.maptrip.de/?tilex=${x}&tiley=${y}&acao=true&contex
1881
1886
  }
1882
1887
  }
1883
1888
  ],
1889
+ foot_path: [
1890
+ {
1891
+ from: 16,
1892
+ to: 19,
1893
+ line: {
1894
+ width: 2,
1895
+ color: "rgba(1, 1, 1, 0)",
1896
+ dashColor: "#A5ADB8",
1897
+ dashLength: 6
1898
+ },
1899
+ text: {
1900
+ size: 12,
1901
+ color: "#606060",
1902
+ font: "Open Sans",
1903
+ outlineColor: "#ffffff",
1904
+ outlineWidth: 2
1905
+ }
1906
+ }
1907
+ ],
1884
1908
  rail: [
1885
1909
  {
1886
1910
  from: 13,