@maptiler/client 1.4.0 → 1.5.0

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 (68) hide show
  1. package/dist/maptiler-client.cjs +28 -0
  2. package/dist/maptiler-client.cjs.map +1 -1
  3. package/dist/maptiler-client.d.ts +17 -0
  4. package/dist/maptiler-client.min.mjs +1 -1
  5. package/dist/maptiler-client.mjs +28 -0
  6. package/dist/maptiler-client.mjs.map +1 -1
  7. package/dist/maptiler-client.umd.js +28 -0
  8. package/dist/maptiler-client.umd.js.map +1 -1
  9. package/dist/maptiler-client.umd.min.js +1 -1
  10. package/docs/classes/config.ClientConfig.html +9 -9
  11. package/docs/classes/services_ServiceError.ServiceError.html +7 -7
  12. package/docs/functions/language.getAutoLanguageGeocoding.html +5 -5
  13. package/docs/functions/services_simplify.default.html +5 -5
  14. package/docs/index.html +16 -10
  15. package/docs/modules/config.html +5 -5
  16. package/docs/modules/language.html +5 -5
  17. package/docs/modules/services_ServiceError.html +5 -5
  18. package/docs/modules/services_coordinates.html +5 -5
  19. package/docs/modules/services_data.html +5 -5
  20. package/docs/modules/services_geocoding.html +5 -5
  21. package/docs/modules/services_geolocation.html +5 -5
  22. package/docs/modules/services_simplify.html +5 -5
  23. package/docs/modules/services_staticMaps.html +5 -5
  24. package/docs/modules.html +4 -4
  25. package/docs/types/config.FetchFunction.html +5 -5
  26. package/docs/types/language.LanguageGeocodingString.html +5 -5
  27. package/docs/types/services_coordinates.CoordinateExport.html +5 -5
  28. package/docs/types/services_coordinates.CoordinateGrid.html +5 -5
  29. package/docs/types/services_coordinates.CoordinateId.html +5 -5
  30. package/docs/types/services_coordinates.CoordinateSearch.html +5 -5
  31. package/docs/types/services_coordinates.CoordinateSearchResult.html +5 -5
  32. package/docs/types/services_coordinates.CoordinateTransformResult.html +5 -5
  33. package/docs/types/services_coordinates.CoordinateTransformation.html +5 -5
  34. package/docs/types/services_coordinates.CoordinatesSearchOptions.html +5 -5
  35. package/docs/types/services_coordinates.CoordinatesTransformOptions.html +5 -5
  36. package/docs/types/services_coordinates.XYZ.html +5 -5
  37. package/docs/types/services_data.GetDataOptions.html +5 -5
  38. package/docs/types/services_geocoding.ByIdGeocodingOptions.html +5 -5
  39. package/docs/types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html +5 -5
  40. package/docs/types/services_geocoding.Coordinates.html +5 -5
  41. package/docs/types/services_geocoding.FeatureHierarchy.html +5 -5
  42. package/docs/types/services_geocoding.GeocodingFeature.html +5 -5
  43. package/docs/types/services_geocoding.GeocodingOptions.html +5 -5
  44. package/docs/types/services_geocoding.GeocodingSearchResult.html +5 -5
  45. package/docs/types/services_geocoding.LanguageGeocodingOptions.html +5 -5
  46. package/docs/types/services_geocoding.ReverseGeocodingOptions.html +5 -5
  47. package/docs/types/services_geolocation.GeolocationInfoOptions.html +5 -5
  48. package/docs/types/services_geolocation.GeolocationResult.html +5 -5
  49. package/docs/types/services_staticMaps.AutomaticStaticMapOptions.html +5 -5
  50. package/docs/types/services_staticMaps.BoundedStaticMapOptions.html +5 -5
  51. package/docs/types/services_staticMaps.CenteredStaticMapOptions.html +5 -5
  52. package/docs/types/services_staticMaps.StaticMapBaseOptions.html +5 -5
  53. package/docs/types/services_staticMaps.StaticMapMarker.html +5 -5
  54. package/docs/variables/config.config.html +5 -5
  55. package/docs/variables/language.LanguageGeocoding.html +5 -5
  56. package/docs/variables/services_coordinates.coordinates.html +5 -5
  57. package/docs/variables/services_data.data.html +5 -5
  58. package/docs/variables/services_geocoding.geocoding.html +5 -5
  59. package/docs/variables/services_geolocation.geolocation.html +5 -5
  60. package/docs/variables/services_staticMaps.staticMaps.html +5 -5
  61. package/docsmd/README.md +43 -42
  62. package/docsmd/classes/ClientConfig.md +5 -5
  63. package/docsmd/classes/MapStyleVariant.md +13 -13
  64. package/docsmd/classes/ReferenceMapStyle.md +9 -9
  65. package/docsmd/classes/ServiceError.md +3 -3
  66. package/package.json +1 -1
  67. package/readme.md +8 -4
  68. package/src/mapstyle.ts +49 -0
package/src/mapstyle.ts CHANGED
@@ -478,6 +478,26 @@ export type MapStyleType = {
478
478
  */
479
479
  DEFAULT: MapStyleVariant;
480
480
  };
481
+
482
+ /**
483
+ * Neutral greyscale style with hillshading suitable for colorful terrain-aware visualization
484
+ */
485
+ BACKDROP: ReferenceMapStyle & {
486
+ /**
487
+ * Neutral greyscale style with hillshading suitable for colorful terrain-aware visualization
488
+ */
489
+ DEFAULT: MapStyleVariant;
490
+
491
+ /**
492
+ * Dark greyscale style with hillshading suitable for colorful terrain-aware visualization
493
+ */
494
+ DARK: MapStyleVariant;
495
+
496
+ /**
497
+ * Light greyscale style with hillshading suitable for colorful terrain-aware visualization
498
+ */
499
+ LIGHT: MapStyleVariant;
500
+ };
481
501
  };
482
502
 
483
503
  export const mapStylePresetList: Array<MapStylePreset> = [
@@ -822,6 +842,35 @@ export const mapStylePresetList: Array<MapStylePreset> = [
822
842
  ],
823
843
  },
824
844
 
845
+ {
846
+ referenceStyleID: "BACKDROP",
847
+ name: "Backdrop",
848
+ description: "",
849
+ variants: [
850
+ {
851
+ id: "backdrop",
852
+ name: "Default",
853
+ variantType: "DEFAULT",
854
+ description: "",
855
+ imageURL: "",
856
+ },
857
+ {
858
+ id: "backdrop-dark",
859
+ name: "Dark",
860
+ variantType: "DARK",
861
+ description: "",
862
+ imageURL: "",
863
+ },
864
+ {
865
+ id: "backdrop-light",
866
+ name: "Light",
867
+ variantType: "LIGHT",
868
+ description: "",
869
+ imageURL: "",
870
+ },
871
+ ],
872
+ },
873
+
825
874
  {
826
875
  referenceStyleID: "OCEAN",
827
876
  name: "Ocean",