Skip to content

Commit 2f1fc56

Browse files
committed
adding additional edits
1 parent ce48153 commit 2f1fc56

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

articles/azure-maps/drawing-package-guide.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ When preparing your facility drawing files for the Conversion service, make sure
5353

5454
## Step 2: Prepare the DWG files
5555

56-
This part of the guide will show you how to use CAD commands to ensure that your DWG files meet the requirements of the Conversion service.
56+
This part of the guide shows you how to use CAD commands to ensure that your DWG files meet the requirements of the Conversion service.
5757

5858
You may choose any CAD software to open and prepare your facility drawing files. However, this guide is created using Autodesk's AutoCAD® software. Any commands referenced in this guide are meant to be executed using Autodesk's AutoCAD® software.
5959

@@ -91,15 +91,15 @@ The following image is taken from the sample package, and shows the exterior lay
9191

9292
### Unit layer
9393

94-
Units are navigable spaces in the building, such as offices, hallways, stairs, and elevators. A closed entity type such as Polygon, closed Polyline, Circle, or closed Ellipse is required to represent each unit. So, walls and doors alone won't create a unit because there isn’t an entity that represents the unit.
94+
Units are navigable spaces in the building, such as offices, hallways, stairs, and elevators. A closed entity type such as Polygon, closed Polyline, Circle, or closed Ellipse is required to represent each unit. So, walls and doors alone doesn't create a unit because there isn’t an entity that represents the unit.
9595

9696
The following image is taken from the [sample drawing package] and shows the unit label layer and unit layer in red. All other layers are turned off to help with visualization. Also, one unit is selected to help show that each unit is a closed Polyline.
9797

9898
:::image type="content" source="./media/drawing-package-guide/unit.png" alt-text="Screenshot showing the unit layer of a facility.":::
9999

100100
### Unit label layer
101101

102-
If you'd like to add a name property to a unit, you'll need to add a separate layer for unit labels. Labels must be provided as single-line text entities that fall inside the bounds of a unit. A corresponding unit property must be added to the manifest file where the `unitName` matches the Contents of the Text. To learn about all supported unit properties, see [`unitProperties`](#unitproperties).
102+
If you'd like to add a name property to a unit, add a separate layer for unit labels. Labels must be provided as single-line text entities that fall inside the bounds of a unit. A corresponding unit property must be added to the manifest file where the `unitName` matches the Contents of the Text. To learn about all supported unit properties, see [`unitProperties`](#unitproperties).
103103

104104
### Door layer
105105

@@ -153,7 +153,7 @@ The `georeference` object is used to specify where the facility is located geogr
153153

154154
### dwgLayers
155155

156-
The `dwgLayers` object is used to specify that DWG layer names where feature classes can be found. To receive a property converted facility, it's important to provide the correct layer names. For example, a DWG wall layer must be provided as a wall layer and not as a unit layer. The drawing can have other layers such as furniture or plumbing; but, they'll be ignored by the Azure Maps Conversion service if they're not specified in the manifest.
156+
The `dwgLayers` object is used to specify that DWG layer names where feature classes can be found. To receive a property converted facility, it's important to provide the correct layer names. For example, a DWG wall layer must be provided as a wall layer and not as a unit layer. The drawing can have other layers such as furniture or plumbing; but, the Azure Maps Conversion service ignores them if they're not specified in the manifest.
157157

158158
The following example of the `dwgLayers` object in the manifest.
159159

@@ -193,7 +193,7 @@ The `unitProperties` object allows you to define other properties for a unit tha
193193

194194
The following image is taken from the [sample drawing package]. It displays the unit label that's associated to the unit property in the manifest.
195195

196-
:::image type="content" source="./media/drawing-package-guide/unit-property.png" alt-text="Screenshot showing the unit label that will be associated to the unity property in the manifest.":::
196+
:::image type="content" source="./media/drawing-package-guide/unit-property.png" alt-text="Screenshot showing the unit label that is associated to the unity property in the manifest.":::
197197

198198
The following snippet shows the unit property object that is associated with the unit.
199199

@@ -221,7 +221,7 @@ The following snippet shows the unit property object that is associated with the
221221

222222
## Step 4: Prepare the Drawing Package
223223

224-
You should now have all the DWG drawings prepared to meet Azure Maps Conversion service requirements. A manifest file has also been created to help describe the facility. All files will need to be zipped into a single archive file, with the `.zip` extension. It's important that the manifest file is named `manifest.json` and is placed in the root directory of the zipped package. All other files can be in any directory of the zipped package if the filename includes the relative path to the manifest. For an example of a drawing package, see the [sample drawing package].
224+
You should now have all the DWG drawings prepared to meet Azure Maps Conversion service requirements. A manifest file has also been created to help describe the facility. All files need to be zipped into a single archive file, with the `.zip` extension. It's important that the manifest file is named `manifest.json` and is placed in the root directory of the zipped package. All other files can be in any directory of the zipped package if the filename includes the relative path to the manifest. For an example of a drawing package, see the [sample drawing package].
225225

226226
:::zone-end
227227

@@ -298,7 +298,7 @@ You can use the [Azure Maps Creator onboarding tool] to create new and edit exis
298298

299299
To process the DWG files, enter the geography of your Azure Maps Creator resource, the subscription key of your Azure Maps account and the path and filename of the DWG ZIP package, the select **Process**. This process can take several minutes to complete.
300300

301-
:::image type="content" source="./media/creator-indoor-maps/onboarding-tool/create-manifest.png" alt-text="Screenshot showing the create a new manifest screen of the Azure Maps Creator onboarding tool.":::
301+
:::image type="content" source="./media/creator-indoor-maps/onboarding-tool/create-manifest.png" alt-text="Screenshot showing the 'create a new manifest' screen of the Azure Maps Creator onboarding tool.":::
302302

303303
### Facility levels
304304

@@ -313,7 +313,7 @@ The following example is taken from the [sample drawing package v2]. The facilit
313313
The `dwgLayers` object is used to specify the DWG layer names where feature classes can be found. To receive a properly converted facility, it's important to provide the correct layer names. For example, a DWG wall layer must be provided as a wall layer and not as a unit layer. The drawing can have other layers such as furniture or plumbing; but, the Azure Maps Conversion service ignores anything not specified in the manifest.
314314
Defining text properties enables you to associate text entities that fall inside the bounds of a feature. Once defined they can be used to style and display elements on your indoor map
315315

316-
:::image type="content" source="./media/creator-indoor-maps/onboarding-tool/dwg-layers.png" alt-text="Screenshot showing the create a new manifest screen of the onboarding tool.":::
316+
:::image type="content" source="./media/creator-indoor-maps/onboarding-tool/dwg-layers.png" alt-text="Screenshot showing the 'create a new manifest' screen of the onboarding tool.":::
317317

318318
> [!IMPORTANT]
319319
> Wayfinding support for `Drawing Package 2.0` will be available soon. The following feature class should be defined (not case sensitive) in order to use [wayfinding]. `Wall` will be treated as an obstruction for a given path request. `Stair` and `Elevator` will be treated as level connectors to navigate across floors:
@@ -336,7 +336,7 @@ The **Anchor Point Angle** is specified in degrees between true north and the dr
336336

337337
You position the facility's location by entering either an address or longitude and latitude values. You can also pan the map to make minor adjustments to the facility's location.
338338

339-
:::image type="content" source="./media/creator-indoor-maps/onboarding-tool/georeference-location-defined.png" alt-text="Screenshot showing the georeference tab of the Azure Maps Creator onboarding tool with values entered for the longitude and latitude anchor points.":::
339+
:::image type="content" source="./media/creator-indoor-maps/onboarding-tool/georeference-location-defined.png" alt-text="Screenshot showing the georeference tab of the Azure Maps Creator onboarding tool with values entered for longitude and latitude.":::
340340

341341
### Review and download
342342

articles/azure-maps/drawing-requirements.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The [Conversion service] does the following on each DWG file:
5959
- Walls
6060
- Vertical penetrations
6161
- Produces a *Facility* feature.
62-
- Produces a minimal set of default Category features to be referenced by other features:
62+
- Produces a minimal set of default Category features referenced by other features:
6363
- room
6464
- structure
6565
- wall
@@ -69,7 +69,7 @@ The [Conversion service] does the following on each DWG file:
6969

7070
## DWG file requirements
7171

72-
A single DWG file is required for each level of the facility. All data of a single level must be contained in a single DWG file. Any external references (_xrefs_) must be bound to the parent drawing. For example, a facility with three levels will have three DWG files in the drawing package.
72+
A single DWG file is required for each level of the facility. All data of a single level must be contained in a single DWG file. Any external references (_xrefs_) must be bound to the parent drawing. For example, a facility with three levels has three DWG files in the drawing package.
7373

7474
Each DWG file must adhere to the following requirements:
7575

@@ -87,7 +87,7 @@ Each DWG layer must adhere to the following rules:
8787
- Self-intersecting polygons are permitted, but are automatically repaired. When they repaired, the [Conversion service] raises a warning. It's advisable to manually inspect the repaired results, because they might not match the expected results.
8888
- Each layer has a supported list of entity types. Any other entity types in a layer will be ignored. For example, text entities aren't supported on the wall layer.
8989

90-
The table below outlines the supported entity types and converted map features for each layer. If a layer contains unsupported entity types, then the [Conversion service] ignores those entities.
90+
The following table outlines the supported entity types and converted map features for each layer. If a layer contains unsupported entity types, then the [Conversion service] ignores those entities.
9191

9292
| Layer | Entity types | Converted Features |
9393
| :----- | :-------------------| :-------
@@ -99,13 +99,13 @@ The table below outlines the supported entity types and converted map features f
9999
| [UnitLabel](#unitlabel-layer) | Text (single line) | Not applicable. This layer can only add properties to the unit features from the Units layer. For more information, see the [UnitLabel layer](#unitlabel-layer).
100100
| [ZoneLabel](#zonelabel-layer) | Text (single line) | Not applicable. This layer can only add properties to zone features from the ZonesLayer. For more information, see the [ZoneLabel layer](#zonelabel-layer).
101101

102-
The sections below describe the requirements for each layer.
102+
The following sections describe the requirements for each layer.
103103

104104
### Exterior layer
105105

106106
The DWG file for each level must contain a layer to define that level's perimeter. This layer is referred to as the *exterior* layer. For example, if a facility contains two levels, then it needs to have two DWG files, with an exterior layer for each file.
107107

108-
No matter how many entity drawings are in the exterior layer, the [resulting facility dataset](tutorial-creator-feature-stateset.md) will contain only one level feature for each DWG file. Additionally:
108+
No matter how many entity drawings are in the exterior layer, the [resulting facility dataset](tutorial-creator-feature-stateset.md) contains only one level feature for each DWG file. Additionally:
109109

110110
- Exteriors must be drawn as POLYGON, POLYLINE (closed), CIRCLE, or ELLIPSE (closed).
111111
- Exteriors may overlap, but are dissolved into one geometry.
@@ -270,7 +270,7 @@ The `unitProperties` object contains a JSON array of unit properties.
270270
|`verticalPenetrationDirection`| string| false |If `verticalPenetrationCategory` is defined, optionally define the valid direction of travel. The permitted values are: `lowToHigh`, `highToLow`, `both`, and `closed`. The default value is `both`. The value is case-sensitive.|
271271
| `nonPublic` | bool | false | Indicates if the unit is open to the public. |
272272
| `isRoutable` | bool | false | When this property is set to `false`, you can't go to or through the unit. The default value is `true`. |
273-
| `isOpenArea` | bool | false | Allows the navigating agent to enter the unit without the need for an opening attached to the unit. By default, this value is set to `true` for units with no openings, and `false` for units with openings. Manually setting `isOpenArea` to `false` on a unit with no openings results in a warning, because the resulting unit won't be reachable by a navigating agent.|
273+
| `isOpenArea` | bool | false | Allows the navigating agent to enter the unit without the need for an opening attached to the unit. By default, this value is set to `true` for units with no openings, and `false` for units with openings. Manually setting `isOpenArea` to `false` on a unit with no openings results in a warning, because the resulting unit isn't reachable by a navigating agent.|
274274

275275
### `zoneProperties`
276276

@@ -286,7 +286,7 @@ The `zoneProperties` object contains a JSON array of zone properties.
286286

287287
### Sample drawing package manifest
288288

289-
Below is the manifest file for the sample drawing package. Go to the [Sample drawing package] for Azure Maps Creator on GitHub to download the entire package.
289+
The following is the manifest file for the sample drawing package. Go to the [Sample drawing package] for Azure Maps Creator on GitHub to download the entire package.
290290

291291
#### Manifest file
292292

@@ -494,9 +494,9 @@ One or more DWG layer(s) can be mapped to a user defined feature class. One inst
494494

495495
Text entities that fall within the bounds of a closed shape can be associated to that feature as a property. For example, a room feature class might have text that describes the room name and another the room type [sample drawing package v2]. Additionally:
496496

497-
- Only TEXT and MTEXT entities will be associated to the feature as a property. All other entity types will be ignored.
497+
- Only TEXT and MTEXT entities are associated to the feature as a property. All other entity types are ignored.
498498
- The TEXT and MTEXT justification point must fall within the bounds of the closed shape.
499-
- If more than one TEXT property is within the bounds of the closed shape and both are mapped to one property, one will be randomly selected.
499+
- If more than one TEXT property is within the bounds of the closed shape and both are mapped to one property, one is randomly selected.
500500

501501
### Facility level
502502

articles/azure-maps/drawing-tools-events.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Drawing tool events | Microsoft Azure Maps
3-
description: In this article you'll learn, how to add a drawing toolbar to a map using Microsoft Azure Maps Web SDK
3+
description: This article demonstrates how to add a drawing toolbar to a map using Microsoft Azure Maps Web SDK
44
author: brendansco
55
ms.author: Brendanc
66
ms.date: 12/05/2019
@@ -15,8 +15,8 @@ When using drawing tools on a map, it's useful to react to certain events as the
1515

1616
| Event | Description |
1717
|-------|-------------|
18-
| `drawingchanged` | Fired when any coordinate in a shape has been added or changed. |
19-
| `drawingchanging` | Fired when any preview coordinate for a shape is being displayed. For example, this event will fire multiple times as a coordinate is dragged. |
18+
| `drawingchanged` | Fired when any coordinate in a shape has been added or changed. |
19+
| `drawingchanging` | Fired when any preview coordinate for a shape is being displayed. For example, this event fires multiple times as a coordinate is dragged. |
2020
| `drawingcomplete` | Fired when a shape has finished being drawn or taken out of edit mode. |
2121
| `drawingerased` | Fired when a shape is erased from the drawing manager when in `erase-geometry` mode. |
2222
| `drawingmodechanged` | Fired when the drawing mode has changed. The new drawing mode is passed into the event handler. |
@@ -65,7 +65,7 @@ This code searches for points of interests inside the area of a shape after the
6565

6666
### Create a measuring tool
6767

68-
The code below shows how the drawing events can be used to create a measuring tool. The `drawingchanging` is used to monitor the shape, as it's being drawn. As the user moves the mouse, the dimensions of the shape are calculated. The `drawingcomplete` event is used to do a final calculation on the shape after it has been drawn. The `drawingmodechanged` event is used to determine when the user is switching into a drawing mode. Also, the `drawingmodechanged` event clears the drawing canvas and clears old measurement information.
68+
The following code shows how the drawing events can be used to create a measuring tool. The `drawingchanging` is used to monitor the shape, as it's being drawn. As the user moves the mouse, the dimensions of the shape are calculated. The `drawingcomplete` event is used to do a final calculation on the shape after it has been drawn. The `drawingmodechanged` event is used to determine when the user is switching into a drawing mode. Also, the `drawingmodechanged` event clears the drawing canvas and clears old measurement information.
6969

7070
<br/>
7171

@@ -78,7 +78,7 @@ The code below shows how the drawing events can be used to create a measuring to
7878

7979
## Next steps
8080

81-
Learn how to use additional features of the drawing tools module:
81+
Learn how to use other features of the drawing tools module:
8282

8383
> [!div class="nextstepaction"]
8484
> [Get shape data](map-get-shape-data.md)

0 commit comments

Comments
 (0)