Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular8-yandex-maps

Package Overview
Dependencies
Maintainers
0
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular8-yandex-maps

Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API 2.0

  • 18.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

angular8-yandex-maps

Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API 2.0

NPM version NPM downloads Codecov

📄 Documentation | 🗺️ Examples | ❓ FAQ

Installation

npm install angular8-yandex-maps
Version compatibility
Angular versionLibrary version
v16, v17, v18v18.x
v15v15.x
v14v14.x
v9, v10, v11, v12, v13v13.x
v8v8.x
v7v7.x
v6v6.x

Documentation for older versions can be found using the branches.

Usage

component.html
<div class="container">
  <ya-map [center]="[55.751952, 37.600739]" [zoom]="12">
    <ya-placemark [geometry]="[55.751952, 37.600739]"></ya-placemark>
  </ya-map>
</div>
component.css
.container {
  width: 1000px;
  height: 500px;
}

Standalone

component.ts
import { Component } from '@angular/core';
import { AngularYandexMapsModule } from 'angular8-yandex-maps';

@Component({
  standalone: true,
  imports: [AngularYandexMapsModule],
})
export class AppComponent {}
app.config.ts
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
import { YaConfig, AngularYandexMapsModule } from 'angular8-yandex-maps';

const config: YaConfig = {
  apikey: 'API_KEY',
};

export const appConfig: ApplicationConfig = {
  providers: [importProvidersFrom(AngularYandexMapsModule.forRoot(config))],
};

SCAM

app.module.ts
import { NgModule } from '@angular/core';
import { AngularYandexMapsModule, YaConfig } from 'angular8-yandex-maps';

const config: YaConfig = {
  apikey: 'API_KEY',
};

@NgModule({
  imports: [AngularYandexMapsModule.forRoot(mapConfig)],
})
export class AppModule {}

Keywords

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc