@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.
- package/dist/maptiler-client.cjs +28 -0
- package/dist/maptiler-client.cjs.map +1 -1
- package/dist/maptiler-client.d.ts +17 -0
- package/dist/maptiler-client.min.mjs +1 -1
- package/dist/maptiler-client.mjs +28 -0
- package/dist/maptiler-client.mjs.map +1 -1
- package/dist/maptiler-client.umd.js +28 -0
- package/dist/maptiler-client.umd.js.map +1 -1
- package/dist/maptiler-client.umd.min.js +1 -1
- package/docs/classes/config.ClientConfig.html +9 -9
- package/docs/classes/services_ServiceError.ServiceError.html +7 -7
- package/docs/functions/language.getAutoLanguageGeocoding.html +5 -5
- package/docs/functions/services_simplify.default.html +5 -5
- package/docs/index.html +16 -10
- package/docs/modules/config.html +5 -5
- package/docs/modules/language.html +5 -5
- package/docs/modules/services_ServiceError.html +5 -5
- package/docs/modules/services_coordinates.html +5 -5
- package/docs/modules/services_data.html +5 -5
- package/docs/modules/services_geocoding.html +5 -5
- package/docs/modules/services_geolocation.html +5 -5
- package/docs/modules/services_simplify.html +5 -5
- package/docs/modules/services_staticMaps.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/config.FetchFunction.html +5 -5
- package/docs/types/language.LanguageGeocodingString.html +5 -5
- package/docs/types/services_coordinates.CoordinateExport.html +5 -5
- package/docs/types/services_coordinates.CoordinateGrid.html +5 -5
- package/docs/types/services_coordinates.CoordinateId.html +5 -5
- package/docs/types/services_coordinates.CoordinateSearch.html +5 -5
- package/docs/types/services_coordinates.CoordinateSearchResult.html +5 -5
- package/docs/types/services_coordinates.CoordinateTransformResult.html +5 -5
- package/docs/types/services_coordinates.CoordinateTransformation.html +5 -5
- package/docs/types/services_coordinates.CoordinatesSearchOptions.html +5 -5
- package/docs/types/services_coordinates.CoordinatesTransformOptions.html +5 -5
- package/docs/types/services_coordinates.XYZ.html +5 -5
- package/docs/types/services_data.GetDataOptions.html +5 -5
- package/docs/types/services_geocoding.ByIdGeocodingOptions.html +5 -5
- package/docs/types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html +5 -5
- package/docs/types/services_geocoding.Coordinates.html +5 -5
- package/docs/types/services_geocoding.FeatureHierarchy.html +5 -5
- package/docs/types/services_geocoding.GeocodingFeature.html +5 -5
- package/docs/types/services_geocoding.GeocodingOptions.html +5 -5
- package/docs/types/services_geocoding.GeocodingSearchResult.html +5 -5
- package/docs/types/services_geocoding.LanguageGeocodingOptions.html +5 -5
- package/docs/types/services_geocoding.ReverseGeocodingOptions.html +5 -5
- package/docs/types/services_geolocation.GeolocationInfoOptions.html +5 -5
- package/docs/types/services_geolocation.GeolocationResult.html +5 -5
- package/docs/types/services_staticMaps.AutomaticStaticMapOptions.html +5 -5
- package/docs/types/services_staticMaps.BoundedStaticMapOptions.html +5 -5
- package/docs/types/services_staticMaps.CenteredStaticMapOptions.html +5 -5
- package/docs/types/services_staticMaps.StaticMapBaseOptions.html +5 -5
- package/docs/types/services_staticMaps.StaticMapMarker.html +5 -5
- package/docs/variables/config.config.html +5 -5
- package/docs/variables/language.LanguageGeocoding.html +5 -5
- package/docs/variables/services_coordinates.coordinates.html +5 -5
- package/docs/variables/services_data.data.html +5 -5
- package/docs/variables/services_geocoding.geocoding.html +5 -5
- package/docs/variables/services_geolocation.geolocation.html +5 -5
- package/docs/variables/services_staticMaps.staticMaps.html +5 -5
- package/docsmd/README.md +43 -42
- package/docsmd/classes/ClientConfig.md +5 -5
- package/docsmd/classes/MapStyleVariant.md +13 -13
- package/docsmd/classes/ReferenceMapStyle.md +9 -9
- package/docsmd/classes/ServiceError.md +3 -3
- package/package.json +1 -1
- package/readme.md +8 -4
- 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",
|