azure-maps-control 3.2.1 → 3.4.0

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/dist/atlas.css CHANGED
@@ -525,6 +525,46 @@
525
525
  text-decoration: none;
526
526
  pointer-events: initial;
527
527
  }
528
+ .atlas-map .map-copyright.without-bg.light .azure-map-copyright,
529
+ .atlas-map .map-copyright.without-bg.light .azure-map-feedback-text {
530
+ text-shadow: #fff 1px 1px;
531
+ }
532
+ .atlas-map .map-copyright.without-bg.light .azure-map-feedback-text {
533
+ color: #000;
534
+ }
535
+ .atlas-map .map-copyright.without-bg.dark .azure-map-copyright,
536
+ .atlas-map .map-copyright.without-bg.dark .azure-map-feedback-text {
537
+ text-shadow: #000 1px 1px;
538
+ }
539
+ .atlas-map .map-copyright.without-bg.dark .azure-map-feedback-text {
540
+ color: #ccc;
541
+ }
542
+ .atlas-map .map-copyright.without-bg .azure-map-copyright {
543
+ margin-right: 0;
544
+ font-size: 9px;
545
+ line-height: 12px;
546
+ }
547
+ .atlas-map .map-copyright.without-bg .azure-map-feedback-text {
548
+ margin-right: 10px;
549
+ pointer-events: auto;
550
+ font-family: Segoe UI;
551
+ font-size: 9px;
552
+ line-height: 12px;
553
+ text-underline-position: under;
554
+ }
555
+ .atlas-map .map-logo-control {
556
+ order: 1;
557
+ display: flex;
558
+ margin: 10px 10px 4px 10px;
559
+ }
560
+ .atlas-map .map-logo-control.dark .azure-map-logo {
561
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 869.291 287.244' height='287.244' width='869.291' xml:space='preserve'%3E%3Cpath style='fill:%23fff;fill-opacity:1;fill-rule:nonzero;stroke:none' d='m0 0-6.387-18.197H6.567L.211 0Zm4.459 8.014 16.268-43.202h-8.254L8.646-24.463H-8.375l-3.676-10.725h-8.194L-3.977 8.014Z' transform='matrix(1.33333 0 0 -1.33333 590.984 125.874)'/%3E%3Cpath style='fill:%23fff;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M0 0h24.734v-2.922L8.496-25.187h16.328v-5.784H-1.145v3.465L14.853-5.785H0Z' transform='matrix(1.33333 0 0 -1.33333 623.492 131.498)'/%3E%3Cg clip-path='url(%23a)' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'%3E%3Cpath style='fill:%23fff;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M0 0v-30.971h-7.352v4.068h-.12c-.964-1.407-2.255-2.506-3.871-3.3-1.617-.793-3.429-1.19-5.438-1.19-3.595 0-6.332 1.019-8.209 3.059-1.879 2.038-2.818 5.206-2.818 9.504V0h7.381v-17.956c0-2.611.518-4.574 1.552-5.89 1.034-1.316 2.596-1.973 4.685-1.973 2.068 0 3.725.728 4.971 2.184 1.245 1.456 1.867 3.36 1.867 5.709V0z' transform='translate(523.469 116.81)'/%3E%3Cpath style='fill:%23fff;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M0 0c.582 0 1.104-.04 1.566-.12a6.711 6.711 0 0 0 1.175-.301v-7.382c-.382.282-.938.547-1.672.799-.733.251-1.622.376-2.666.376-1.788 0-3.299-.753-4.534-2.259-1.235-1.507-1.852-3.826-1.852-6.96v-15.635h-7.291v30.97h7.291v-4.881h.12c.663 1.687 1.667 3.008 3.012 3.962C-3.505-.477-1.888 0 0 0' transform='translate(545.42 117.322)'/%3E%3Cpath style='fill:%23fff;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M0 0c0 2.41-.558 4.248-1.672 5.513-1.115 1.265-2.686 1.898-4.715 1.898-1.748 0-3.314-.628-4.7-1.883C-12.473 4.272-13.396 2.43-13.858 0Zm4.67-10.816v-5.995c-1.205-.764-2.782-1.381-4.731-1.853-1.948-.472-4.026-.708-6.236-.708-4.72 0-8.39 1.396-11.011 4.188-2.621 2.791-3.931 6.678-3.931 11.659 0 4.8 1.4 8.752 4.202 11.855 2.802 3.103 6.351 4.654 10.65 4.654 4.278 0 7.607-1.31 9.988-3.931C5.98 6.432 7.17 2.812 7.17-1.808v-3.525h-21.209c.321-3.113 1.32-5.287 2.997-6.522 1.677-1.235 3.842-1.853 6.493-1.853 1.747 0 3.414.266 5.001.798 1.586.533 2.992 1.23 4.218 2.094' transform='translate(569.734 104.459)'/%3E%3C/g%3E%3Cg clip-path='url(%23b)' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'%3E%3Cpath style='fill:%23fff;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M0 0h-10.858v-25.004h-7.38V0h-5.182v5.964h5.182v4.308c0 3.254 1.059 5.92 3.178 7.999 2.119 2.079 4.835 3.118 8.148 3.118.884 0 1.667-.045 2.351-.136a9.3 9.3 0 0 0 1.807-.406v-6.296c-.241.14-.663.31-1.265.512-.603.2-1.296.301-2.078.301-1.528 0-2.702-.477-3.526-1.431-.823-.954-1.235-2.365-1.235-4.232V5.964H0v6.96l7.321 2.229V5.964h7.381V0H7.321v-14.49c0-1.909.346-3.255 1.039-4.037.693-.784 1.782-1.175 3.269-1.175.421 0 .929.1 1.521.301.592.2 1.109.441 1.552.723v-6.025c-.463-.261-1.231-.502-2.305-.723a15.742 15.742 0 0 0-3.178-.331c-3.073 0-5.378.817-6.914 2.454C.768-21.666 0-19.201 0-15.906Zm-48.407-9.731c0-3.234.733-5.704 2.199-7.411 1.466-1.707 3.564-2.56 6.296-2.56 2.652 0 4.67.853 6.055 2.56 1.386 1.707 2.079 4.238 2.079 7.592 0 3.333-.718 5.849-2.154 7.547-1.436 1.697-3.449 2.545-6.04 2.545-2.672 0-4.745-.889-6.221-2.667-1.476-1.776-2.214-4.312-2.214-7.606m-7.592-.241c0 5.122 1.446 9.178 4.338 12.171 2.892 2.992 6.909 4.489 12.051 4.489 4.839 0 8.62-1.441 11.342-4.323 2.721-2.883 4.082-6.774 4.082-11.674 0-5.022-1.446-9.018-4.338-11.99-2.892-2.973-6.829-4.458-11.809-4.458-4.801 0-8.612 1.41-11.433 4.232-2.822 2.821-4.233 6.673-4.233 11.553m-16.417 7.803c0-1.045.331-1.863.994-2.456.662-.592 2.128-1.34 4.399-2.244 2.911-1.165 4.955-2.475 6.129-3.931 1.176-1.456 1.763-3.219 1.763-5.287 0-2.913-1.119-5.252-3.359-7.019-2.239-1.769-5.267-2.651-9.083-2.651-1.285 0-2.706.155-4.263.466-1.556.312-2.877.708-3.961 1.19v7.17a17.945 17.945 0 0 1 4.278-2.198c1.526-.543 2.912-.815 4.157-.815 1.647 0 2.862.231 3.646.694.783.461 1.174 1.235 1.174 2.319 0 1.005-.406 1.853-1.22 2.546-.813.693-2.355 1.491-4.624 2.395-2.692 1.124-4.599 2.39-5.724 3.795-1.125 1.406-1.687 3.194-1.687 5.363 0 2.791 1.109 5.086 3.329 6.884 2.218 1.797 5.096 2.696 8.631 2.696 1.084 0 2.299-.121 3.645-.361 1.346-.241 2.47-.554 3.375-.935v-6.929c-.965.644-2.09 1.195-3.375 1.658-1.286.462-2.561.693-3.826.693-1.386 0-2.465-.271-3.238-.813-.774-.543-1.16-1.287-1.16-2.23m-35.065-7.562c0-3.234.732-5.704 2.199-7.411 1.465-1.707 3.564-2.56 6.295-2.56 2.652 0 4.67.853 6.055 2.56 1.387 1.707 2.079 4.238 2.079 7.592 0 3.333-.718 5.849-2.154 7.547C-94.443-.306-96.456.542-99.046.542c-2.672 0-4.746-.889-6.222-2.667-1.476-1.776-2.213-4.312-2.213-7.606m-7.593-.241c0 5.122 1.446 9.178 4.339 12.171 2.892 2.992 6.908 4.489 12.049 4.489 4.841 0 8.622-1.441 11.343-4.323 2.721-2.883 4.082-6.774 4.082-11.674 0-5.022-1.446-9.018-4.338-11.99-2.892-2.973-6.828-4.458-11.809-4.458-4.801 0-8.612 1.41-11.433 4.232-2.822 2.821-4.233 6.673-4.233 11.553m-3.136 16.449c.583 0 1.105-.041 1.567-.121a6.56 6.56 0 0 0 1.175-.301v-7.381c-.382.282-.939.547-1.672.799-.733.251-1.622.376-2.666.376-1.788 0-3.299-.753-4.534-2.259-1.235-1.507-1.853-3.826-1.853-6.959v-15.635h-7.29V5.964h7.29v-4.88h.12c.663 1.687 1.667 3.007 3.013 3.962 1.346.953 2.962 1.431 4.85 1.431m-27.956-26.179c1.084 0 2.279.25 3.585.753a15.06 15.06 0 0 1 3.615 1.988v-6.778c-1.165-.663-2.485-1.165-3.962-1.506-1.475-.342-3.098-.512-4.865-.512-4.559 0-8.265 1.44-11.116 4.322-2.852 2.882-4.278 6.562-4.278 11.041 0 4.981 1.457 9.083 4.369 12.307 2.911 3.223 7.039 4.835 12.381 4.835 1.366 0 2.746-.176 4.143-.528 1.395-.351 2.504-.757 3.328-1.219v-6.99c-1.125.824-2.274 1.462-3.45 1.914a9.966 9.966 0 0 1-3.599.678c-2.872 0-5.192-.935-6.959-2.802-1.768-1.868-2.651-4.388-2.651-7.562 0-3.133.848-5.573 2.545-7.321 1.697-1.747 4.002-2.62 6.914-2.62m-22.112-5.302h-7.29V5.965h7.29zm-8.044 39.916c0 1.205.437 2.214 1.311 3.027.874.814 1.912 1.221 3.117 1.221 1.286 0 2.351-.418 3.194-1.25.844-.834 1.265-1.834 1.265-2.998 0-1.185-.431-2.18-1.295-2.982-.864-.804-1.918-1.205-3.164-1.205-1.245 0-2.294.406-3.147 1.219-.855.814-1.281 1.803-1.281 2.968m-6.273 3.283v-43.199h-7.501v33.86h-.12l-13.407-33.86h-4.97l-13.738 33.86h-.09v-33.86h-6.929v43.199h10.755l12.412-32.023h.18l13.105 32.023z' transform='translate(394.942 110.844)'/%3E%3C/g%3E%3Cpath style='fill:%23f25022;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M106.213 109.22H71.995v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%237fba00;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M143.993 109.22h-34.218v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%2300a4ef;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M106.213 71.44H71.995v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%23ffb900;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M143.993 71.44h-34.218v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%23f25022;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M106.213 109.22H71.995v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%237fba00;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M143.993 109.22h-34.218v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%2300a4ef;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M106.213 71.44H71.995v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3Cpath style='fill:%23ffb900;fill-opacity:1;fill-rule:nonzero;stroke:none' d='M143.993 71.44h-34.218v34.218h34.218z' transform='matrix(1.33333 0 0 -1.33333 0 287.244)'/%3E%3C/svg%3E");
562
+ }
563
+ .atlas-map .map-logo-control .azure-map-logo {
564
+ background-size: 130px 43px;
565
+ height: 14px;
566
+ width: 102px;
567
+ }
528
568
  .atlas-map a.azure-map-copyright[href]:hover {
529
569
  text-decoration: underline;
530
570
  }
@@ -537,8 +577,7 @@
537
577
  margin-left: 4px;
538
578
  }
539
579
  .atlas-map .azure-map-copyright span {
540
- display: inline-flex;
541
- align-items: center;
580
+ white-space: pre;
542
581
  }
543
582
  .atlas-map .azure-map-copyright a[href]:hover {
544
583
  text-decoration: underline;
@@ -566,7 +605,6 @@
566
605
  }
567
606
  .atlas-map .map-copyright {
568
607
  display: flex;
569
- flex-flow: row wrap;
570
608
  position: absolute;
571
609
  align-items: center;
572
610
  justify-content: flex-end;
@@ -576,10 +614,10 @@
576
614
  padding-bottom: 4px;
577
615
  background-blend-mode: normal, color, luminosity;
578
616
  }
579
- .atlas-map .map-copyright.light {
617
+ .atlas-map .map-copyright.light:not(.without-bg) {
580
618
  background: rgba(238, 238, 238, 0.8);
581
619
  }
582
- .atlas-map .map-copyright.dark {
620
+ .atlas-map .map-copyright.dark:not(.without-bg) {
583
621
  background: rgba(44, 44, 44, 0.8);
584
622
  }
585
623
  .atlas-map .atlas-map.high-contrast-light .azure-map-copyright,
@@ -914,6 +952,9 @@
914
952
  flex-direction: row;
915
953
  position: relative;
916
954
  }
955
+ .atlas-map .azure-maps-control-container > .style-options.icons {
956
+ flex-wrap: wrap;
957
+ }
917
958
  .atlas-map .top-left.subcontrol-container {
918
959
  position: absolute;
919
960
  top: 0;
@@ -943,7 +984,7 @@
943
984
  }
944
985
  .atlas-map .bottom-right.subcontrol-container {
945
986
  position: absolute;
946
- bottom: 40px;
987
+ bottom: 30px;
947
988
  right: 0;
948
989
  display: flex;
949
990
  flex-direction: column;
@@ -961,6 +1002,7 @@
961
1002
  position: absolute;
962
1003
  white-space: nowrap;
963
1004
  width: 1px;
1005
+ opacity: 0;
964
1006
  }
965
1007
  .atlas-map .azure-maps-control-container {
966
1008
  margin: 10px;
@@ -1408,6 +1450,7 @@
1408
1450
  }
1409
1451
  .atlas-map .azure-maps-control-button.curr-style {
1410
1452
  position: relative;
1453
+ flex-shrink: 0;
1411
1454
  }
1412
1455
  .atlas-map .azure-maps-control-button.curr-style > .icon {
1413
1456
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.6 11.6'%3E%3Cg transform='rotate(180 5.8 5.8)'%3E%3Ccircle cx='5.8' cy='5.8' r='5.8' fill='%2383888d'/%3E%3Cpath d='M6 9.5L3.5 5.9v-.2L6 2.4a.188.188 0 0 1 .3 0l1.3 1a.188.188 0 0 1 0 .3L6 5.7A.188.188 0 0 0 6 6l1.6 2.4c.1.1 0 .2-.1.3l-1.3.8c-.1.1-.2.1-.2 0z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");