Uploading a map
We start by uploading an indoor map as a drawing package to the Azure Maps resources. We need to create a POST
URL for uploading the data. The URL definition is shown here:
https://eu.atlas.microsoft.com/mapData? api-version=2.0& dataFormat=dwgzippackage& subscription-key={authenticationId}
Our {authenticationId}
value is ce84cef4-95de-4cab-8499-a72430e965df
. This is the primary or secondary key found under Authentication within the service. The URL becomes this:
https://eu.atlas.microsoft.com/mapData?api-version=2.0&dataFormat=dwgzippackage&subscription-key=ce84cef4-95de-4cab-8499-a72430e965df
Start the Postman application and execute the following steps:
- Select the
DigitalTwinsBook
environment. - Add a new collection called
AzureMaps
and add a new request. - Name the request
DataUpload
. - Copy the URL shown in the preceding code snippet into the URL field.
- Change the method to
POST
.The following screenshot highlights...