You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/creator-indoor-maps.md
+128-3Lines changed: 128 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ services: azure-maps
10
10
11
11
---
12
12
13
-
14
13
# Creator for indoor maps
15
14
16
15
This article introduces concepts and tools that apply to Azure Maps Creator. We recommend that you read this article before you begin to use the Azure Maps Creator API and SDK.
@@ -51,6 +50,7 @@ Creator services create, store, and use various data types that are defined and
51
50
- Converted data
52
51
- Dataset
53
52
- Tileset
53
+
- Custom styles
54
54
- Feature stateset
55
55
56
56
## Upload a Drawing package
@@ -74,6 +74,7 @@ Azure Maps Creator provides the following services that support map creation:
74
74
-[Dataset service](/rest/api/maps/v2/dataset).
75
75
-[Tileset service](/rest/api/maps/v2/tileset).
76
76
Use the Tileset service to create a vector-based representation of a dataset. Applications can use a tileset to present a visual tile-based view of the dataset.
77
+
- Custom styles. Use the [style service][style] or [visual style editor][style editor] to customize the visual elements of an indoor map.
77
78
-[Feature State service](/rest/api/maps/v2/feature-state). Use the Feature State service to support dynamic map styling. Applications can use dynamic map styling to reflect real-time events on spaces provided by the IoT system.
78
79
79
80
### Datasets
@@ -95,10 +96,119 @@ After a tileset is created, it can be retrieved by the [Render V2 service](#rend
95
96
If a tileset becomes outdated and is no longer useful, you can delete the tileset. For information about how to delete tilesets, see [Data maintenance](#data-maintenance).
96
97
97
98
>[!NOTE]
98
-
>A tileset is independent of the dataset from which it was created. If you create tilesets from a dataset, and then subsequently update that dataset, the tilesets isn't updated.
99
+
>A tileset is independent of the dataset from which it was created. If you create tilesets from a dataset, and then subsequently update that dataset, the tilesets isn't updated.
99
100
>
100
101
>To reflect changes in a dataset, you must create new tilesets. Similarly, if you delete a tileset, the dataset isn't affected.
101
102
103
+
### Custom styling (Preview)
104
+
105
+
A style defines the visual appearance of a map. It defines what data to draw, the order to draw it in, and how to style the data when drawing it. Azure Maps Creator styles support the MapLibre standard for [style layers][style layers] and [sprites][sprites].
106
+
107
+
When you convert a drawing package after uploading it to your Azure Maps account, default styles are applied to the elements of your map. The custom styling service enables you to customize the visual appearance of your map. You can do this by manually editing the style JSON and importing it into your Azure Maps account using the [Style - Create][create-style] HTTP request, however the recommended approach is to use the [visual style editor][style editor]. For more information, see [Create custom styles for indoor maps](how-to-create-custom-styles.md).
| type | The rendering type for this layer.<br/>Some of the more common types include:<br/>**fill**: A filled polygon with an optional stroked border.<br/>**Line**: A stroked line.<br/>**Symbol**: An icon or a text label.<br/>**fill-extrusion**: An extruded (3D) polygon. |
147
+
| filter | Only features that match the filter criteria are displayed. |
148
+
| layout | Layout properties for the layer. |
149
+
| minzoom | A number between 0 and 24 that represents the minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden. |
150
+
| paint | Default paint properties for this layer. |
151
+
| source-layer | A source supplies the data, from a vector tile source, displayed on a map. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources.|
152
+
153
+
#### Map configuration
154
+
155
+
The map configuration is an array of configurations. Each configuration consists of a [basemap][basemap] and one or more layers, each layer consisting of a [style][style] + [tileset][tileset] tuple.
156
+
157
+
The map configuration is used when you [Instantiate the Indoor Manager][instantiate-indoor-manager] of a Map object when developing applications in Azure Maps. It's referenced using the `mapConfigurationId` or `alias`. Map configurations are immutable. When making changes to an existing map configuration, a new map configuration will be created, resulting in a different `mapConfingurationId`. Anytime you create a map configuration using an alias already used by an existing map configuration, it will always point to the new map configuration.
158
+
159
+
Below is an example of a map configuration JSON showing the default configurations. See the table below for a description of each element of the file:
160
+
161
+
```json
162
+
{
163
+
"version": 1.0,
164
+
"description": "This is the default Azure Maps map configuration for facility ontology tilesets.",
| description | The user defined description of the style. |
202
+
| thumbnail | Use to specify the thumbnail used in the style picker for this style. For more information, see the [style picker control][style-picker-control]. |
203
+
| baseMap | Use to Set the base map style. |
204
+
| layers | The layers array consists of one or more *tileset + Style* tuples, each being a layer of the map. This enables multiple buildings on a map, each building represented in its own tileset. |
205
+
206
+
#### Additional information
207
+
208
+
- For more information how to modify styles using the style editor, see [Create custom styles for indoor maps][style-how-to].
209
+
- For more information on style Rest API, see [style][style] in the Maps Creator Rest API reference.
210
+
- For more information on the map configuration Rest API, see [Creator - map configuration Rest API][map-config-api].
211
+
102
212
### Feature statesets
103
213
104
214
Feature statesets are collections of dynamic properties (*states*) that are assigned to dataset features, such as rooms or equipment. An example of a *state* can be temperature or occupancy. Each *state* is a key/value pair that contains the name of the property, the value, and the timestamp of the last update.
@@ -126,7 +236,7 @@ You can use the [Web Feature Service (WFS) API](/rest/api/maps/v2/wfs) to query
126
236
127
237
### Alias API
128
238
129
-
Creator services such as Conversion, Dataset, Tileset, and Feature State return an identifier for each resource that's created from the APIs. The [Alias API](/rest/api/maps/v2/alias) allows you to assign an alias to reference a resource identifier.
239
+
Creator services such as Conversion, Dataset, Tileset and Feature State return an identifier for each resource that's created from the APIs. The [Alias API](/rest/api/maps/v2/alias) allows you to assign an alias to reference a resource identifier.
130
240
131
241
### Indoor Maps module
132
242
@@ -161,3 +271,18 @@ The following example shows how to update a dataset, create a new tileset, and d
161
271
162
272
> [!div class="nextstepaction"]
163
273
> [Tutorial: Creating a Creator indoor map](tutorial-creator-indoor-maps.md)
274
+
275
+
> [!div class="nextstepaction"]
276
+
> [Create custom styles for indoor maps](how-to-create-custom-styles.md)
0 commit comments