@mapless/core 1.0.36 → 1.0.37

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/index.js CHANGED
@@ -1351,7 +1351,7 @@ const colors_colors = {
1351
1351
  'hillshade-highlight-color': 'rgba(255, 255, 255, 0.4)'
1352
1352
  },
1353
1353
  satellite: {
1354
- background: 'rgb(250,250,250)',
1354
+ background: 'rgba(0, 0, 0, 0)',
1355
1355
  'fill-color': 'hsla(232, 47%, 18%, 0.65)',
1356
1356
  'fill-extrusion-color': [
1357
1357
  'interpolate',
@@ -11027,9 +11027,7 @@ const satellite_satellite = ()=>({
11027
11027
  2,
11028
11028
  20
11029
11029
  ],
11030
- color: 'hsl(0, 0%, 100%)',
11031
- 'high-color': 'hsl(210, 100%, 80%)',
11032
- 'space-color': [
11030
+ color: [
11033
11031
  'interpolate',
11034
11032
  [
11035
11033
  'exponential',
@@ -11039,10 +11037,25 @@ const satellite_satellite = ()=>({
11039
11037
  'zoom'
11040
11038
  ],
11041
11039
  5,
11042
- 'hsl(210, 40%, 30%)',
11040
+ 'hsla(210, 60%, 82%, 0.28)',
11043
11041
  7,
11044
- 'hsl(210, 100%, 80%)'
11042
+ 'rgba(0, 0, 0, 0)'
11043
+ ],
11044
+ 'high-color': [
11045
+ 'interpolate',
11046
+ [
11047
+ 'exponential',
11048
+ 1.2
11049
+ ],
11050
+ [
11051
+ 'zoom'
11052
+ ],
11053
+ 5,
11054
+ 'hsla(210, 70%, 88%, 0.18)',
11055
+ 7,
11056
+ 'rgba(0, 0, 0, 0)'
11045
11057
  ],
11058
+ 'space-color': 'rgba(0, 0, 0, 0)',
11046
11059
  'horizon-blend': [
11047
11060
  'interpolate',
11048
11061
  [
@@ -11073,6 +11086,7 @@ const satellite_satellite = ()=>({
11073
11086
  ]
11074
11087
  },
11075
11088
  layers: [
11089
+ background('satellite'),
11076
11090
  ...maplessPreset.ENABLE_SATELLITE ? source_satellite.layers_satellite : [],
11077
11091
  ...source_openmaptiles.layers_satellite,
11078
11092
  ...maplessPreset.ENABLE_BUILDINGS ? dzbuildings.layers_satellite : [],
@@ -1,13 +1,19 @@
1
1
  export declare const satellite: () => {
2
2
  fog: {
3
3
  range: number[];
4
- color: string;
5
- 'high-color': string;
6
- 'space-color': (string | number | (string | number)[])[];
4
+ color: (string | number | (string | number)[])[];
5
+ 'high-color': (string | number | (string | number)[])[];
6
+ 'space-color': string;
7
7
  'horizon-blend': (string | number | (string | number)[])[];
8
8
  'star-intensity': (string | number | (string | number)[])[];
9
9
  };
10
10
  layers: ({
11
+ id: string;
12
+ type: string;
13
+ paint: {
14
+ 'background-color': any;
15
+ };
16
+ } | {
11
17
  id: string;
12
18
  type: string;
13
19
  source: string;
@@ -1 +1 @@
1
- {"version":3,"file":"satellite.d.ts","sourceRoot":"","sources":["../../../../../src/Mapless/theme/dzmap/satellite.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../../src/Mapless/theme/dzmap/source/colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,GAAG,CAsIjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../../src/Mapless/theme/dzmap/source/colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,GAAG,CAuIjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapless/core",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "type": "module",
5
5
  "description": "Mapbox wrapper library without React dependencies",
6
6
  "source": "src/index.ts",