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/active-directory-b2c/claimsschema.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ The **DataType** element supports the following values:
68
68
|boolean|Represents a Boolean (`true` or `false`) value.|
69
69
|date| Represents an instant in time, typically expressed as a date of a day. The value of the date follows ISO 8601 convention.|
70
70
|dateTime|Represents an instant in time, typically expressed as a date and time of day. The value of the date follows ISO 8601 convention during runtime and is converted to UNIX epoch time when issued as a claim into the token.|
71
-
|duration|Represents a time interval in years, months, days, hours, minutes, and seconds. The format of is `PnYnMnDTnHnMnS`, where `P` indicates positive, or `N` for negative value. `nY` is the number of years followed by a literal `Y`. `nMo` is the number of months followed by a literal `Mo`. `nD` is the number of days followed by a literal `D`. Examples: `P21Y` represents 21 years. `P1Y2Mo` represents one year, and two months. `P1Y2Mo5D` represents one year, two months, and five days. `P1Y2M5DT8H5M620S` represents one year, two months, five days, eight hours, five minutes, and twenty seconds. |
71
+
|duration|Represents a time interval in years, months, days, hours, minutes, and seconds. The format of is `PnYnMnDTnHnMnS`, where `P` indicates positive, or `N` for negative value. `nY` is the number of years followed by a literal `Y`. `nMo` is the number of months followed by a literal `Mo`. `nD` is the number of days followed by a literal `D`. Examples: `P21Y` represents 21 years. `P1Y2Mo` represents one year, and two months. `P1Y2Mo5D` represents one year, two months, and five days. `P1Y2M5DT8H5M20S` represents one year, two months, five days, eight hours, five minutes, and twenty seconds. |
72
72
|phoneNumber|Represents a phone number. |
73
73
|int| Represents number between -2,147,483,648 and 2,147,483,647|
74
74
|long| Represents number between -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
@@ -251,7 +251,7 @@ The **UserInputType** element available user input types:
251
251
|Password |`string`|Password text box.|
252
252
|RadioSingleSelect |`string`| Collection of radio buttons. The claim value is the selected value.|
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/embedded-login.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ The **Sources** attribute contains the URI of your web application. Add a space
73
73
- The URI must be trusted and owned by your application.
74
74
- The URI must use the https scheme.
75
75
- The full URI of the web app must be specified. Wildcards are not supported.
76
+
- The **JourneyFraming** element only allows site URLs with a **two to seven-character** Top-level domain (TLD) to align with commonly recognized TLDs.
76
77
77
78
In addition, we recommend that you also block your own domain name from being embedded in an iframe by setting the `Content-Security-Policy` and `X-Frame-Options` headers respectively on your application pages. This will mitigate security concerns around older browsers related to nested embedding of iframes.
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/language-customization.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ You configure localized resources elements for the content definition and any la
285
285
<LocalizedStringElementType="UxElement"StringId="local_intro_email">#Iniciar sesión con su cuenta existente</LocalizedString>
286
286
<LocalizedStringElementType="UxElement"StringId="invalid_email">#Escriba una dirección de correo electrónico válida</LocalizedString>
287
287
<LocalizedStringElementType="UxElement"StringId="unknown_error">#Tenemos problemas para iniciar su sesión. Vuelva a intentarlo más tarde. </LocalizedString>
<LocalizedStringElementType="ErrorMessage"StringId="UserMessageIfInvalidPassword">#Su contraseña es incorrecta.</LocalizedString>
290
290
<LocalizedStringElementType="ErrorMessage"StringId="UserMessageIfClaimsPrincipalDoesNotExist">#Parece que no podemos encontrar su cuenta.</LocalizedString>
291
291
<LocalizedStringElementType="ErrorMessage"StringId="UserMessageIfOldPasswordUsed">#Parece que ha usado una contraseña antigua.</LocalizedString>
1. If it doesn't already exist, add a `<UserJourneyBehaviors>` child node to the `<RelyingParty>` node. It must be located after `<DefaultUserJourney ReferenceId="UserJourney Id" from your extensions policy, or equivalent (for example:SignUpOrSigninWithAAD" />`.
75
+
1. If it doesn't already exist, add a `<UserJourneyBehaviors>` child node to the `<RelyingParty>` node. It must be located after `<DefaultUserJourney ReferenceId="UserJourney Id" from your extensions policy, or equivalent (for example:SignUpOrSigninWithAAD" />`. See [RelyingParty schema reference](./relyingparty.md) for a complete order of the **RelyingParty** child elements.
76
76
1. Add the following node as a child of the `<UserJourneyBehaviors>` element. Make sure to replace `{Your Application Insights Key}` with the Application Insights **Instrumentation Key** that you recorded earlier.
77
77
78
78
```xml
@@ -96,6 +96,10 @@ To create an instance of Application Insights in your subscription, follow these
96
96
...
97
97
<RelyingParty>
98
98
<DefaultUserJourneyReferenceId="UserJourney ID from your extensions policy, or equivalent (for example: SignUpOrSigninWithAzureAD)" />
99
+
<Endpoints>
100
+
<!--points to refresh token journey when app makes refresh token request-->
Copy file name to clipboardExpand all lines: articles/azure-maps/drawing-tools-events.md
+33-12Lines changed: 33 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: Drawing tool events | Microsoft Azure Maps
3
3
description: This article demonstrates how to add a drawing toolbar to a map using Microsoft Azure Maps Web SDK
4
-
author: brendansco
5
-
ms.author: Brendanc
6
-
ms.date: 12/05/2019
4
+
author: dubiety
5
+
ms.author: yuchungchen
6
+
ms.date: 05/23/2023
7
7
ms.topic: conceptual
8
8
ms.service: azure-maps
9
9
services: azure-maps
@@ -22,16 +22,21 @@ When using drawing tools on a map, it's useful to react to certain events as the
22
22
|`drawingmodechanged`| Fired when the drawing mode has changed. The new drawing mode is passed into the event handler. |
23
23
|`drawingstarted`| Fired when the user starts drawing a shape or puts a shape into edit mode. |
24
24
25
-
The following code shows how the events in the Drawing Tools module work. Draw shapes on the map and watch as the events fire.
25
+
For a complete working sample of how to display data from a vector tile source on the map, see [Drawing tool events] in the [Azure Maps Samples]. In this sample you can draw shapes on the map and watch as the events fire.
26
26
27
+
The following image shows a screenshot of the complete working sample that demonstrates how the events in the Drawing Tools module work.
28
+
29
+
:::image type="content" source="./media/drawing-tools-events/drawing-tools-events.png" alt-text="Screenshot showing a map displaying data from a vector tile source.":::
@@ -41,40 +46,50 @@ Let's see some common scenarios that use the drawing tools events.
41
46
42
47
This code demonstrates how to monitor an event of a user drawing shapes. For this example, the code monitors shapes of polygons, rectangles, and circles. Then, it determines which data points on the map are within the drawn area. The `drawingcomplete` event is used to trigger the select logic. In the select logic, the code loops through all the data points on the map. It checks if there's an intersection of the point and the area of the drawn shape. This example makes use of the open-source [Turf.js](https://turfjs.org/) library to perform a spatial intersection calculation.
43
48
49
+
For a complete working sample of how to use the drawing tools to draw polygon areas on the map with points within them that can be selected, see [Select data in drawn polygon area] in the [Azure Maps Samples].
50
+
51
+
:::image type="content" source="./media/drawing-tools-events/select-data-in-drawn-polygon-area.png" alt-text="Screenshot showing a map displaying points within polygon areas.":::
This code searches for points of interests inside the area of a shape after the user finished drawing the shape. You can modify and execute the code by clicking 'Edit on Code pen' on the top-right corner of the frame. The `drawingcomplete` event is used to trigger the search logic. If the user draws a rectangle or polygon, a search inside geometry is performed. If a circle is drawn, the radius and center position is used to perform a point of interest search. The `drawingmodechanged` event is used to determine when the user switches to the drawing mode, and this event clears the drawing canvas.
56
65
66
+
For a complete working sample of how to use the drawing tools to search for points of interests within drawn areas, see [Draw and search polygon area] in the [Azure Maps Samples].
67
+
68
+
:::image type="content" source="./media/drawing-tools-events/draw-and-search-polygon-area.png" alt-text="Screenshot showing a map displaying the Draw and search in polygon area sample.":::
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.
69
82
70
-
<br/>
83
+
For a complete working sample of how to use the drawing tools to measure distances and areas, see [Create a measuring tool] in the [Azure Maps Samples].
71
84
85
+
:::image type="content" source="./media/drawing-tools-events/create-a-measuring-tool.png" alt-text="Screenshot showing a map displaying the measuring tool sample.":::
0 commit comments