azure-maps-control 3.3.0 → 3.4.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azure-maps-control",
3
3
  "author": "Microsoft Corporation",
4
- "version": "3.3.0",
4
+ "version": "3.4.0",
5
5
  "description": "Map SDK for Azure Maps",
6
6
  "keywords": [
7
7
  "azure",
@@ -36,11 +36,12 @@
36
36
  "dependencies": {
37
37
  "@azure/msal-browser": "^2.32.1",
38
38
  "@mapbox/mapbox-gl-supported": "^2.0.1",
39
- "@maplibre/maplibre-gl-style-spec": "^20.0.0"
39
+ "@maplibre/maplibre-gl-style-spec": "^20.0.0",
40
+ "@types/geojson": "^7946.0.14"
40
41
  },
41
42
  "devDependencies": {
42
43
  "@mapbox/mapbox-gl-rtl-text": "^0.2.3",
43
- "@microsoft/applicationinsights-web": "^3.1.1",
44
+ "@microsoft/applicationinsights-web": "^3.3.0",
44
45
  "@playwright/test": "^1.42.1",
45
46
  "@rollup/plugin-commonjs": "^25.0.4",
46
47
  "@rollup/plugin-json": "^6.0.0",
Binary file
@@ -2910,6 +2910,18 @@ declare namespace atlas {
2910
2910
  * in your application.
2911
2911
  */
2912
2912
  export function clearPrewarmedResources (): void;
2913
+ /**
2914
+ * Adds a custom load resource function that will be called when using a URL that starts with a custom url schema.
2915
+ * @param customProtocol - the protocol to hook, for example 'custom'
2916
+ * @param loadFn - the function to use when trying to fetch a tile specified by the customProtocol
2917
+ */
2918
+ export function addProtocol (customProtocol: string, loadFn: (...args: any[]) => Promise<any>): void;
2919
+
2920
+ /**
2921
+ * Removes a previously added protocol in the main thread.
2922
+ * @param customProtocol - the custom protocol to remove registration for
2923
+ */
2924
+ export function removeProtocol (customProtocol: string): void;
2913
2925
  /**
2914
2926
  * Options used when rendering Point objects in a BubbleLayer.
2915
2927
  */