@mapsindoors/map-template 1.39.0 → 1.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -135,6 +135,7 @@ Note that when using the React component, the properties should conform to JSX p
135
135
  |`timeout`|`timeout`|`number`|If you want the Map Template to reset the map position and the UI elements to the initial state after some time of inactivity, use this to specify the number of seconds of inactivity before resetting. This property is not dependent on the `kioskOriginLocationId`. |
136
136
  |`use-keyboard`|`useKeyboard`|`bool`|If running the Map Template as a Kiosk, set this prop to `true` and it will display a virtual keyboard. This property is dependent on the `kioskOriginLocationId`. |
137
137
  |`mi-transition-level`|`miTransitionLevel`|`number`|The zoom level on which to transition from Mapbox to MapsIndoors data. Default value is 17. This feature is only available for Mapbox. |
138
+ |`category`|`category`|`string`|If you want to indicate an active category on the map. The value should be the Key (Administrative ID). |
138
139
 
139
140
  ## Using Query Parameters
140
141
 
@@ -164,6 +165,7 @@ The supported query parameters are the following:
164
165
  20. `timeout` - If you want the Map Template to reset the map position and the UI elements to the initial state after some time of inactivity, use this to specify the number of seconds of inactivity before resetting. This property is not dependent on the `kioskOriginLocationId`.
165
166
  21. `useKeyboard` - If running the Map Template as a Kiosk, set this prop to `true` and it will display a virtual keyboard. This property is dependent on the `kioskOriginLocationId`.
166
167
  22. `miTransitionLevel` - The zoom level on which to transition from Mapbox to MapsIndoors data. Default value is 17. This feature is only available for Mapbox.
168
+ 23. `category` - If you want to indicate an active category on the map. The value should be the Key (Administrative ID).
167
169
 
168
170
  **Note!** All the query parameters need to be separated with the `&` symbol, without any spaces in between.
169
171
  **Note!** When using parameters such as `directionsTo`, `directionsFrom`, `locationId`, `externalIDs`, and `tileStyle` make sure you are using the correct `apiKey` parameter to which they belong.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mapsindoors/map-template",
3
3
  "description": "Get a MapsIndoors map up and running in less than 10 mins.",
4
- "version": "1.39.0",
4
+ "version": "1.39.1",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/*.js",