Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
angular8-yandex-maps
Advanced tools
Changelog
Readme
Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API
npm install angular8-yandex-maps
Angular version | Library version |
---|---|
v16, v17 | v17.x |
v15 | v15.x |
v14 | v14.x |
v9, v10, v11, v12, v13 | v13.x |
v8 | v8.x |
v7 | v7.x |
v6 | v6.x |
npm install angular8-yandex-maps@^8.0.0
import { AngularYandexMapsModule } from 'angular8-yandex-maps';
@NgModule({
imports: [AngularYandexMapsModule],
})
export class AppModule {}
import { AngularYandexMapsModule, YaConfig } from 'angular8-yandex-maps';
const mapConfig: YaConfig = {
apikey: 'API_KEY',
lang: 'en_US',
};
@NgModule({
imports: [AngularYandexMapsModule.forRoot(mapConfig)],
})
export class AppModule {}
<div class="container">
<ya-map [center]="[55.751952, 37.600739]" [zoom]="12">
<ya-placemark [geometry]="[55.751952, 37.600739]"></ya-placemark>
</ya-map>
</div>
.container {
width: 1000px;
height: 500px;
}
import { AngularYandexMapsModule } from 'angular8-yandex-maps';
@Component({
selector: 'app-component',
standalone: true,
imports: [AngularYandexMapsModule],
})
export class Component {}
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
import { YaConfig, AngularYandexMapsModule } from 'angular8-yandex-maps';
const mapConfig: YaConfig = {
apikey: 'API_KEY',
lang: 'en_US',
};
export const appConfig: ApplicationConfig = {
providers: [importProvidersFrom(AngularYandexMapsModule.forRoot(mapConfig))],
};
<div class="container">
<ya-map [center]="[55.751952, 37.600739]" [zoom]="12">
<ya-placemark [geometry]="[55.751952, 37.600739]"></ya-placemark>
</ya-map>
</div>
.container {
width: 1000px;
height: 500px;
}
FAQs
Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API
The npm package angular8-yandex-maps receives a total of 919 weekly downloads. As such, angular8-yandex-maps popularity was classified as not popular.
We found that angular8-yandex-maps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.