Commit b66ed7f
.NET's camelCase JSON serializer converts DblclickZoomInteraction to
dblclickZoomInteraction (lowercase 'c' in click), but the Azure Maps SDK
expects dblClickZoomInteraction (capital 'C' in Click). The property was
silently ignored, so double click zoom was never disabled.
Fix by adding [JsonPropertyName("dblClickZoomInteraction")] to ensure
the correct key is sent to the SDK.
Fixes #113
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 52bf7ce commit b66ed7f
File tree
1 file changed
+2
-0
lines changed- src/AzureMapsControl.Components/Map
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments