Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,7 @@ manualupgrade
mapbox
mapred
mapreduce
Maputnik
mariadb
Marketo
marketplaceagreementsapi
Expand Down Expand Up @@ -1992,6 +1993,9 @@ streamingendpoint
streamingjobs
streamingservice
structdef
stylerecipe
Copy link
Contributor

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

styleset
stylesets
subcause
subcode
subcomponent
Expand Down
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": {
Copy link
Contributor

Choose a reason for hiding this comment

The 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",
Copy link
Contributor

Choose a reason for hiding this comment

The 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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use just a sample GUID instead of {operationId}?

"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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use just a sample GUID instead of {operationId}?

"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]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use just a sample GUID instead of [dataset-Id]?

"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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use just a sample GUID instead of {operationId}?

"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": {}
}
}
Loading