ddubrava / angular-yandex-maps

πŸ—ΊοΈ Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API
https://ddubrava.github.io/angular8-yandex-maps/#/
MIT License
57 stars 7 forks source link

fix: move PLATFORM_ID logic from components to API loader service #175

Closed ddubrava closed 2 years ago

ddubrava commented 2 years ago

Closes #174

codecov-commenter commented 2 years ago

Codecov Report

Base: 99.52% // Head: 99.51% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (b413835) compared to base (780efbe). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #175 +/- ## ========================================== - Coverage 99.52% 99.51% -0.01% ========================================== Files 14 14 Lines 625 618 -7 Branches 83 76 -7 ========================================== - Hits 622 615 -7 Misses 3 3 ``` | [Impacted Files](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava) | Coverage Ξ” | | |---|---|---| | [.../components/ya-clusterer/ya-clusterer.component.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLWNsdXN0ZXJlci95YS1jbHVzdGVyZXIuY29tcG9uZW50LnRz) | `97.46% <100.00%> (-0.04%)` | :arrow_down: | | [.../lib/components/ya-control/ya-control.directive.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLWNvbnRyb2wveWEtY29udHJvbC5kaXJlY3RpdmUudHM=) | `100.00% <100.00%> (ΓΈ)` | | | [.../components/ya-geoobject/ya-geoobject.directive.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLWdlb29iamVjdC95YS1nZW9vYmplY3QuZGlyZWN0aXZlLnRz) | `100.00% <100.00%> (ΓΈ)` | | | [...maps/src/lib/components/ya-map/ya-map.component.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLW1hcC95YS1tYXAuY29tcG9uZW50LnRz) | `100.00% <100.00%> (ΓΈ)` | | | [...omponents/ya-multiroute/ya-multiroute.directive.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLW11bHRpcm91dGUveWEtbXVsdGlyb3V0ZS5kaXJlY3RpdmUudHM=) | `100.00% <100.00%> (ΓΈ)` | | | [...s/ya-object-manager/ya-object-manager.directive.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLW9iamVjdC1tYW5hZ2VyL3lhLW9iamVjdC1tYW5hZ2VyLmRpcmVjdGl2ZS50cw==) | `100.00% <100.00%> (ΓΈ)` | | | [...ib/components/ya-panorama/ya-panorama.directive.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLXBhbm9yYW1hL3lhLXBhbm9yYW1hLmRpcmVjdGl2ZS50cw==) | `100.00% <100.00%> (ΓΈ)` | | | [.../components/ya-placemark/ya-placemark.directive.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9jb21wb25lbnRzL3lhLXBsYWNlbWFyay95YS1wbGFjZW1hcmsuZGlyZWN0aXZlLnRz) | `100.00% <100.00%> (ΓΈ)` | | | [...ib/services/ya-api-loader/ya-api-loader.service.ts](https://codecov.io/gh/ddubrava/angular8-yandex-maps/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniil+Dubrava#diff-cHJvamVjdHMvYW5ndWxhcjgteWFuZGV4LW1hcHMvc3JjL2xpYi9zZXJ2aWNlcy95YS1hcGktbG9hZGVyL3lhLWFwaS1sb2FkZXIuc2VydmljZS50cw==) | `100.00% <100.00%> (ΓΈ)` | |

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.