-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[Hub Generated] Review request for Creator to add version preview/2022-01-01-preview #18584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4457e7a
2b26c04
4ee9795
f98571c
1f256c6
4a0a80b
8c95168
a8e08f9
0f0a8d1
1a1bbec
4c6c2e8
73f943f
4b79af0
afa4216
676055c
59fada9
c12921a
a9e01e6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"alias": "sample-alias", | ||
"description": "This is my first map configuration.", | ||
"MapConfiguration": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this be just a ZIP file body? |
||
"version": 1.0, | ||
"description": "This is Microsoft default indoor map configuration", | ||
"defaultStyle": "microsoft_light", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. indoor_light |
||
"styles": [ | ||
{ | ||
"name": "indoor_light", | ||
"displayName": "Indoor light", | ||
"description": "A base style for Azure Maps.", | ||
"theme": "light", | ||
"baseMap": "microsoft_light", | ||
"layers": [ | ||
{ | ||
"tilesetId": "b7485951-f6d9-e5ba-a332-8adb08fc7fb7", | ||
"styleId": "microsoft-maps:indoor_2022-01-01" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "indoor_dark", | ||
"displayName": "Indoor dark", | ||
"description": "A base style for Azure Maps.", | ||
"theme": "dark", | ||
"baseMap": "microsoft_dark", | ||
"layers": [ | ||
{ | ||
"tilesetId": "b7485951-f6d9-e5ba-a332-8adb08fc7fb7", | ||
"styleId": "microsoft-maps:indoor_dark_2022-01-01" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Operation-Location": "https://us.atlas.microsoft.com/styles/mapConfigurations/operations/{operationId}?api-version=2022-01-01-preview", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we use just a sample GUID instead of |
||
"Access-Control-Expose-Headers": "Operation-Location" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"mapConfigurationId": "25084fb7-307a-4720-8f91-7952a0b91012" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"mapConfigurationId": "25084fb7-307a-4720-8f91-7952a0b91012" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Content-Type": "application/zip" | ||
}, | ||
"body": "binary zip string, can be saved as zip file. The zip file will contain a `configuration.json` file and optional thumbnail files defined in the configuration file." | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c", | ||
"created": "2021-04-20T22:43:14.9401559+00:00", | ||
"status": "Succeeded" | ||
}, | ||
"headers": { | ||
"Resource-Location": "https://us.atlas.microsoft.com/styles/mapConfigurations/3e36b996-f6d1-b068-0fcb-dd6b014c3447?api-version=2022-01-01-preview" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c", | ||
"created": "2021-04-23T19:14:03.2452596+00:00", | ||
"status": "Running" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"mapConfigurations": [ | ||
{ | ||
"mapConfigurationId": "83f95b58-bd21-0c90-f904-341a0eb8f86e", | ||
"description": "map configuration with indoor dark style", | ||
"alias": "indoor_dark", | ||
"created": "2022-04-13T06:30:42+00:00" | ||
}, | ||
{ | ||
"mapConfigurationId": "36f67fb9-893d-019e-32ca-d26db5ee764a", | ||
"description": "Auto-generated map configuration for indoor tileset 28b8160a-68d8-4247-be0b-786c51963142.", | ||
"alias": "defaultIndoor_28b8160a-68d8-4247-be0b-786c51963142", | ||
"created": "2022-04-13T22:39:50+00:00" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"styleId": "25084fb7-307a-4720-8f91-7952a0b91012" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"styleId": "25084fb7-307a-4720-8f91-7952a0b91012" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Content-Type": "application/zip" | ||
}, | ||
"body": "binary zip string, can be saved as zip file. The zip file will contain a style json file and optional sprites image and json index files." | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c", | ||
"created": "2021-04-20T22:43:14.9401559+00:00", | ||
"status": "Succeeded" | ||
}, | ||
"headers": { | ||
"Resource-Location": "https://us.atlas.microsoft.com/styles/3e36b996-f6d1-b068-0fcb-dd6b014c3447?api-version=2022-01-01-preview" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"operationId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c", | ||
"created": "2021-04-23T19:14:03.2452596+00:00", | ||
"status": "Running" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"alias": "test-alias", | ||
"ImportContent": { | ||
"layers": [ | ||
{ | ||
"id": "background", | ||
"type": "background", | ||
"source-layer": "bg-source", | ||
"minzoom": 18, | ||
"maxzoom": 20, | ||
"layout": { | ||
"visibility": "none", | ||
"symbol-placement": "point", | ||
"symbol-avoid-edges": true, | ||
"text-field": "{name}", | ||
"text-keep-upright": true, | ||
"text-font": [ | ||
"SegoeUi-SemiBold" | ||
], | ||
"text-letter-spacing": 0.1, | ||
"text-size": { | ||
"stops": [ | ||
[ | ||
18.5, | ||
6.5 | ||
], | ||
[ | ||
19, | ||
8 | ||
], | ||
[ | ||
19.5, | ||
9.5 | ||
], | ||
[ | ||
20, | ||
11 | ||
] | ||
] | ||
}, | ||
"text-anchor": "center" | ||
}, | ||
"paint": { | ||
"text-color": "rgb(0, 0, 0)", | ||
"text-halo-color": "rgb(255, 255, 255)", | ||
"text-halo-width": 1, | ||
"text-halo-blur": 0.5 | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Operation-Location": "https://us.atlas.microsoft.com/styles/operations/{operationId}?api-version=2022-01-01-preview", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we use just a sample GUID instead of |
||
"Access-Control-Expose-Headers": "Operation-Location" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"styles": [ | ||
{ | ||
"styleId": "9c451b0a-6527-49a7-9154-1b3d9486487f", | ||
"description": "Some optional description", | ||
"alias": "indoor_style", | ||
"created": "2022-01-21T03:04:05.678Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"datasetId": "[dataset-Id]", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we use just a sample GUID instead of |
||
"description": "Example description.", | ||
"TilesetConfiguration": { | ||
"version": 1, | ||
"layers": { | ||
"Indoor unit": { | ||
"minZoom": 10, | ||
"maxZoom": 18, | ||
"features": { | ||
"featureClasses": [ | ||
"unit", | ||
"wall" | ||
], | ||
"filter": [ | ||
"any", | ||
[ | ||
"!=", | ||
[ | ||
"get", | ||
"roomType" | ||
], | ||
"conference" | ||
], | ||
[ | ||
"!=", | ||
[ | ||
"get", | ||
"roomType" | ||
], | ||
"restroom" | ||
] | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Operation-Location": "https://us.atlas.microsoft.com/tilesets/operations/{operationId}?api-version=2022-01-01-preview", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we use just a sample GUID instead of |
||
"Access-Control-Expose-Headers": "Operation-Location" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-01-01-preview", | ||
"tilesetId": "25084fb7-307a-4720-8f91-7952a0b91012" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove those 3 words now