azure-maps-control 3.7.1 → 3.7.2
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.
- package/ReadMe.md +0 -4
- package/dist/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +138 -45
- package/dist/atlas-core-bare.js +138 -45
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +138 -45
- package/dist/atlas-core.js +138 -45
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +138 -45
- package/dist/atlas-esm.min.js +1 -1
- package/dist/atlas.js +138 -45
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +1 -1
package/dist/atlas-core-bare.js
CHANGED
|
@@ -466,7 +466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
466
466
|
* Contains real information about the available/supported locales.
|
|
467
467
|
*/
|
|
468
468
|
var localeIndex = {
|
|
469
|
-
localizationsPath: "locs/mapcontrol/
|
|
469
|
+
localizationsPath: "locs/mapcontrol/2025-11-05",
|
|
470
470
|
sensitiveUserRegions: ["il", "kr", "pk", "in", "cn", "ar", "bh", "eg", "jo", "sa", "kw", "om", "qa", "ma", "ae"],
|
|
471
471
|
locales: {
|
|
472
472
|
defaultLanguage: {
|
|
@@ -482,37 +482,49 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
482
482
|
ar: {
|
|
483
483
|
defaultRegion: {
|
|
484
484
|
code: "ar",
|
|
485
|
-
strings: "ar-
|
|
485
|
+
strings: "ar-SA/resource.json"
|
|
486
486
|
}
|
|
487
487
|
},
|
|
488
488
|
bg: {
|
|
489
489
|
defaultRegion: {
|
|
490
490
|
code: "bg-BG",
|
|
491
|
-
strings: "bg-
|
|
491
|
+
strings: "bg-BG/resource.json"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
ca: {
|
|
495
|
+
defaultRegion: {
|
|
496
|
+
code: "ca-ES",
|
|
497
|
+
strings: "ca-ES/resource.json"
|
|
492
498
|
}
|
|
493
499
|
},
|
|
494
500
|
cs: {
|
|
495
501
|
defaultRegion: {
|
|
496
502
|
code: "cs-CZ",
|
|
497
|
-
strings: "cs-
|
|
503
|
+
strings: "cs-CZ/resource.json"
|
|
498
504
|
}
|
|
499
505
|
},
|
|
500
506
|
da: {
|
|
501
507
|
defaultRegion: {
|
|
502
508
|
code: "da-DK",
|
|
503
|
-
strings: "da-
|
|
509
|
+
strings: "da-DK/resource.json"
|
|
504
510
|
}
|
|
505
511
|
},
|
|
506
512
|
de: {
|
|
507
513
|
defaultRegion: {
|
|
508
514
|
code: "de-DE",
|
|
509
|
-
strings: "de-
|
|
515
|
+
strings: "de-DE/resource.json"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
et: {
|
|
519
|
+
defaultRegion: {
|
|
520
|
+
code: "et-EE",
|
|
521
|
+
strings: "et-EE/resource.json"
|
|
510
522
|
}
|
|
511
523
|
},
|
|
512
524
|
el: {
|
|
513
525
|
defaultRegion: {
|
|
514
526
|
code: "el-GR",
|
|
515
|
-
strings: "el-
|
|
527
|
+
strings: "el-GR/resource.json"
|
|
516
528
|
}
|
|
517
529
|
},
|
|
518
530
|
en: {
|
|
@@ -540,123 +552,199 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
540
552
|
es: {
|
|
541
553
|
defaultRegion: {
|
|
542
554
|
code: "es-ES",
|
|
543
|
-
strings: "es-
|
|
555
|
+
strings: "es-ES/resource.json"
|
|
544
556
|
},
|
|
545
557
|
mx: {
|
|
546
558
|
code: "es-MX",
|
|
547
|
-
strings: "es-
|
|
559
|
+
strings: "es-MX/resource.json"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
eu: {
|
|
563
|
+
defaultRegion: {
|
|
564
|
+
code: "eu-ES",
|
|
565
|
+
strings: "eu-ES/resource.json"
|
|
548
566
|
}
|
|
549
567
|
},
|
|
550
568
|
fi: {
|
|
551
569
|
defaultRegion: {
|
|
552
570
|
code: "fi-FI",
|
|
553
|
-
strings: "fi-
|
|
571
|
+
strings: "fi-FI/resource.json"
|
|
554
572
|
}
|
|
555
573
|
},
|
|
556
574
|
fr: {
|
|
557
575
|
defaultRegion: {
|
|
558
576
|
code: "fr-FR",
|
|
559
|
-
strings: "fr-
|
|
577
|
+
strings: "fr-FR/resource.json"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
gl: {
|
|
581
|
+
defaultRegion: {
|
|
582
|
+
code: "gl-ES",
|
|
583
|
+
strings: "gl-ES/resource.json"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
he: {
|
|
587
|
+
defaultRegion: {
|
|
588
|
+
code: "he-IL",
|
|
589
|
+
strings: "he-IL/resource.json"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
hi: {
|
|
593
|
+
defaultRegion: {
|
|
594
|
+
code: "hi-IN",
|
|
595
|
+
strings: "hi-IN/resource.json"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
hr: {
|
|
599
|
+
defaultRegion: {
|
|
600
|
+
code: "hr-HR",
|
|
601
|
+
strings: "hr-HR/resource.json"
|
|
560
602
|
}
|
|
561
603
|
},
|
|
562
604
|
hu: {
|
|
563
605
|
defaultRegion: {
|
|
564
606
|
code: "hu-HU",
|
|
565
|
-
strings: "hu-
|
|
607
|
+
strings: "hu-HU/resource.json"
|
|
566
608
|
}
|
|
567
609
|
},
|
|
568
610
|
id: {
|
|
569
611
|
defaultRegion: {
|
|
570
612
|
code: "id-ID",
|
|
571
|
-
strings: "id-
|
|
613
|
+
strings: "id-ID/resource.json"
|
|
572
614
|
}
|
|
573
615
|
},
|
|
574
616
|
it: {
|
|
575
617
|
defaultRegion: {
|
|
576
618
|
code: "it-IT",
|
|
577
|
-
strings: "it-
|
|
619
|
+
strings: "it-IT/resource.json"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
ja: {
|
|
623
|
+
defaultRegion: {
|
|
624
|
+
code: "ja-JP",
|
|
625
|
+
strings: "ja-JP/resource.json"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
kk: {
|
|
629
|
+
defaultRegion: {
|
|
630
|
+
code: "kk-KZ",
|
|
631
|
+
strings: "kk-KZ/resource.json"
|
|
578
632
|
}
|
|
579
633
|
},
|
|
580
634
|
ko: {
|
|
581
635
|
defaultRegion: {
|
|
582
636
|
code: "ko-KR",
|
|
583
|
-
strings: "ko-
|
|
637
|
+
strings: "ko-KR/resource.json"
|
|
584
638
|
}
|
|
585
639
|
},
|
|
586
640
|
lt: {
|
|
587
641
|
defaultRegion: {
|
|
588
642
|
code: "lt-LT",
|
|
589
|
-
strings: "lt-
|
|
643
|
+
strings: "lt-LT/resource.json"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
lv: {
|
|
647
|
+
defaultRegion: {
|
|
648
|
+
code: "lv-LV",
|
|
649
|
+
strings: "lv-LV/resource.json"
|
|
590
650
|
}
|
|
591
651
|
},
|
|
592
652
|
ms: {
|
|
593
653
|
defaultRegion: {
|
|
594
654
|
code: "ms-MY",
|
|
595
|
-
strings: "ms-
|
|
655
|
+
strings: "ms-MY/resource.json"
|
|
596
656
|
}
|
|
597
657
|
},
|
|
598
658
|
nb: {
|
|
599
659
|
defaultRegion: {
|
|
600
660
|
code: "nb-NO",
|
|
601
|
-
strings: "nb-
|
|
661
|
+
strings: "nb-NO/resource.json"
|
|
602
662
|
}
|
|
603
663
|
},
|
|
604
664
|
nl: {
|
|
605
665
|
defaultRegion: {
|
|
606
666
|
code: "nl-NL",
|
|
607
|
-
strings: "nl-
|
|
667
|
+
strings: "nl-NL/resource.json"
|
|
608
668
|
}
|
|
609
669
|
},
|
|
610
670
|
pl: {
|
|
611
671
|
defaultRegion: {
|
|
612
672
|
code: "pl-PL",
|
|
613
|
-
strings: "pl-
|
|
673
|
+
strings: "pl-PL/resource.json"
|
|
614
674
|
}
|
|
615
675
|
},
|
|
616
676
|
pt: {
|
|
617
677
|
defaultRegion: {
|
|
618
678
|
code: "pt-PT",
|
|
619
|
-
strings: "pt-
|
|
679
|
+
strings: "pt-PT/resource.json"
|
|
620
680
|
},
|
|
621
681
|
br: {
|
|
622
682
|
code: "pt-BR",
|
|
623
|
-
strings: "pt-
|
|
683
|
+
strings: "pt-BR/resource.json"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
ro: {
|
|
687
|
+
defaultRegion: {
|
|
688
|
+
code: "ro-RO",
|
|
689
|
+
strings: "ro-RO/resource.json"
|
|
624
690
|
}
|
|
625
691
|
},
|
|
626
692
|
ru: {
|
|
627
693
|
defaultRegion: {
|
|
628
694
|
code: "ru-RU",
|
|
629
|
-
strings: "ru-
|
|
695
|
+
strings: "ru-RU/resource.json"
|
|
630
696
|
}
|
|
631
697
|
},
|
|
632
698
|
sk: {
|
|
633
699
|
defaultRegion: {
|
|
634
700
|
code: "sk-SK",
|
|
635
|
-
strings: "sk-
|
|
701
|
+
strings: "sk-SK/resource.json"
|
|
636
702
|
}
|
|
637
703
|
},
|
|
638
704
|
sl: {
|
|
639
705
|
defaultRegion: {
|
|
640
706
|
code: "sl-SL",
|
|
641
|
-
strings: "sl
|
|
707
|
+
strings: "sl/resource.json"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
sr: {
|
|
711
|
+
defaultRegion: {
|
|
712
|
+
code: "sr-CYRL-RS",
|
|
713
|
+
strings: "sr-CYRL-RS/resource.json"
|
|
714
|
+
},
|
|
715
|
+
latn: {
|
|
716
|
+
code: "sr-LATN-RS",
|
|
717
|
+
strings: "sr-LATN-RS/resource.json"
|
|
642
718
|
}
|
|
643
719
|
},
|
|
644
720
|
sv: {
|
|
645
721
|
defaultRegion: {
|
|
646
722
|
code: "sv-SE",
|
|
647
|
-
strings: "sv-
|
|
723
|
+
strings: "sv-SE/resource.json"
|
|
648
724
|
}
|
|
649
725
|
},
|
|
650
726
|
th: {
|
|
651
727
|
defaultRegion: {
|
|
652
728
|
code: "th-TH",
|
|
653
|
-
strings: "th-
|
|
729
|
+
strings: "th-TH/resource.json"
|
|
654
730
|
}
|
|
655
731
|
},
|
|
656
732
|
tr: {
|
|
657
733
|
defaultRegion: {
|
|
658
734
|
code: "tr-TR",
|
|
659
|
-
strings: "tr-
|
|
735
|
+
strings: "tr-TR/resource.json"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
uk: {
|
|
739
|
+
defaultRegion: {
|
|
740
|
+
code: "uk-UA",
|
|
741
|
+
strings: "uk-UA/resource.json"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
vi: {
|
|
745
|
+
defaultRegion: {
|
|
746
|
+
code: "vi-VN",
|
|
747
|
+
strings: "vi-VN/resource.json"
|
|
660
748
|
}
|
|
661
749
|
},
|
|
662
750
|
zh: {
|
|
@@ -685,7 +773,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
685
773
|
},
|
|
686
774
|
tw: {
|
|
687
775
|
code: "zh-Hant-TW",
|
|
688
|
-
strings: "zh-
|
|
776
|
+
strings: "zh-TW/resource.json"
|
|
689
777
|
}
|
|
690
778
|
}
|
|
691
779
|
}
|
|
@@ -748,10 +836,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
748
836
|
* A localized version of `"Detour"`.
|
|
749
837
|
*/
|
|
750
838
|
this.Detour = "Detour";
|
|
751
|
-
/**
|
|
752
|
-
* A localized version of `"Dummy"`.
|
|
753
|
-
*/
|
|
754
|
-
this.Dummy = "Dummy";
|
|
755
839
|
}
|
|
756
840
|
return LocalizedStrings;
|
|
757
841
|
}());
|
|
@@ -894,7 +978,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
894
978
|
return UserAgent;
|
|
895
979
|
}());
|
|
896
980
|
|
|
897
|
-
var version$2 = "3.7.
|
|
981
|
+
var version$2 = "3.7.2";
|
|
898
982
|
|
|
899
983
|
/**
|
|
900
984
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -1851,6 +1935,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
1851
1935
|
}
|
|
1852
1936
|
};
|
|
1853
1937
|
eventTarget.addEventListener("mouseover", positionTooltip);
|
|
1938
|
+
eventTarget.addEventListener("touchend", positionTooltip);
|
|
1854
1939
|
eventTarget.addEventListener("focusin", positionTooltip);
|
|
1855
1940
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
1856
1941
|
};
|
|
@@ -6447,6 +6532,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6447
6532
|
styleOpsGrid.classList.add("hidden-accessible-element");
|
|
6448
6533
|
}
|
|
6449
6534
|
};
|
|
6535
|
+
var onStyleButtonClick = function () {
|
|
6536
|
+
if (container.classList.contains(StyleControl.Css.inUse)) {
|
|
6537
|
+
expandGrid(false);
|
|
6538
|
+
}
|
|
6539
|
+
else {
|
|
6540
|
+
expandGrid(true);
|
|
6541
|
+
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
6542
|
+
if (styleOpsGrid.firstElementChild) {
|
|
6543
|
+
styleOpsGrid.firstElementChild.focus();
|
|
6544
|
+
}
|
|
6545
|
+
}
|
|
6546
|
+
};
|
|
6450
6547
|
styleOpsGrid.classList.add(options ? options.position || 'top-right' : 'top-right');
|
|
6451
6548
|
container.addEventListener("mouseover", function () {
|
|
6452
6549
|
_this.hasMouse = true;
|
|
@@ -6486,17 +6583,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6486
6583
|
}
|
|
6487
6584
|
}
|
|
6488
6585
|
});
|
|
6586
|
+
currStyleButton.addEventListener("touchend", function (event) {
|
|
6587
|
+
event.preventDefault();
|
|
6588
|
+
onStyleButtonClick();
|
|
6589
|
+
});
|
|
6489
6590
|
currStyleButton.addEventListener("click", function (event) {
|
|
6490
|
-
|
|
6491
|
-
expandGrid(false);
|
|
6492
|
-
}
|
|
6493
|
-
else {
|
|
6494
|
-
expandGrid(true);
|
|
6495
|
-
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
6496
|
-
if (styleOpsGrid.firstElementChild) {
|
|
6497
|
-
styleOpsGrid.firstElementChild.focus();
|
|
6498
|
-
}
|
|
6499
|
-
}
|
|
6591
|
+
onStyleButtonClick();
|
|
6500
6592
|
});
|
|
6501
6593
|
if (options && StyleControl.InvertOrderPositions.includes(options.position)) {
|
|
6502
6594
|
container.appendChild(styleOpsGrid);
|
|
@@ -47856,9 +47948,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47856
47948
|
Map.prototype._rebuildStyle = function (diff) {
|
|
47857
47949
|
if (diff === void 0) { diff = true; }
|
|
47858
47950
|
return __awaiter(this, void 0, void 0, function () {
|
|
47951
|
+
var _this = this;
|
|
47859
47952
|
return __generator(this, function (_a) {
|
|
47860
47953
|
this.styles.setStyle(this.styleOptions, diff);
|
|
47861
|
-
this.imageSprite._restoreImages();
|
|
47954
|
+
this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
|
|
47862
47955
|
return [2 /*return*/];
|
|
47863
47956
|
});
|
|
47864
47957
|
});
|