@maptiler/client 2.8.0-rc.1 → 3.0.0-rc.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/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # MapTiler Client Changelog
2
2
 
3
- ## NEXT
3
+ ## 3.0.0
4
+
5
+ ### ⚠️ Breaking Changes
6
+ - The default styles of Satellite, Hybrid, Dataviz, Outdoor, Winter, Backdrop, Aquarelle, Ocean, Top, Base and Landscape all point to v4 as their default style. V2 styles are still available under under the `_V2` suffixed namespace eg `MapStyle.STREETS_V2.DEFAULT`.
4
7
 
5
8
  ### New Features
6
9
  - Adds new option `adjustSearchParams` to all functions in `geocoding` module
@@ -9,7 +12,7 @@
9
12
  None
10
13
 
11
14
  ### Others
12
- None
15
+ - Default value of `types` option of Geocoding API Client changed, TSDoc now links to API docs instead of listing the default types explicitly
13
16
 
14
17
  ## 2.7.0
15
18
 
@@ -2298,19 +2298,20 @@ const MAP_STYLE_CONFIG = [
2298
2298
  }
2299
2299
  ];
2300
2300
  const defaultReferenceStyleMap = {
2301
- STREETS: "STREETS_V2",
2301
+ STREETS: "STREETS_V4",
2302
2302
  BASIC: "BASIC_V2",
2303
- LANDSCAPE: "LANDSCAPE_V2",
2304
- AQUARELLE: "AQUARELLE_V2",
2305
- SATELLITE: "SATELLITE_V2",
2306
- WINTER: "WINTER_V2",
2307
- HYBRID: "HYBRID_V2",
2308
- OCEAN: "OCEAN_V2",
2303
+ BASE: "BASE_V4",
2304
+ LANDSCAPE: "LANDSCAPE_V4",
2305
+ AQUARELLE: "AQUARELLE_V4",
2306
+ SATELLITE: "SATELLITE_V4",
2307
+ WINTER: "WINTER_V4",
2308
+ HYBRID: "HYBRID_V4",
2309
+ OCEAN: "OCEAN_V4",
2309
2310
  TONER: "TONER_V2",
2310
- TOPO: "TOPO_V2",
2311
+ TOPO: "TOPO_V4",
2311
2312
  OPENSTREETMAP: "OPENSTREETMAP_V2",
2312
- DATAVIZ: "DATAVIZ_V2",
2313
- BACKDROP: "BACKDROP_V2",
2313
+ DATAVIZ: "DATAVIZ_V4",
2314
+ BACKDROP: "BACKDROP_V4",
2314
2315
  VOYAGER: "VOYAGER_V2"
2315
2316
  };
2316
2317
  const mapStylePresetList = [
@@ -3319,6 +3320,7 @@ exports.circumferenceAtLatitude = circumferenceAtLatitude;
3319
3320
  exports.config = config;
3320
3321
  exports.coordinates = coordinates;
3321
3322
  exports.data = data;
3323
+ exports.defaultReferenceStyleMap = defaultReferenceStyleMap;
3322
3324
  exports.elevation = elevation;
3323
3325
  exports.expandMapStyle = expandMapStyle;
3324
3326
  exports.geocoding = geocoding;