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

angular8-yandex-maps

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular8-yandex-maps

Angular module for Yandex Maps

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
961
increased by13.33%
Maintainers
1
Weekly downloads
 
Created
Source

Angular8-yandex-maps

Example

Installation

npm install angular8-yandex-maps

Usage

module.ts

import { AngularYandexMapsModule } from 'angular8-yandex-maps';

@NgModule({
  imports: [AngularYandexMapsModule.forRoot(API_KEY or null)]
})

component.html

<div class="map">
  <angular-yandex-map [center]="[60.169931, 24.938513]" [zoom]="12" [mapOptions]="mapOptions">
    <angular-yandex-placemark [geometry]="[60.169931, 24.938513]"></angular-yandex-placemark>
    <angular-yandex-placemark [geometry]="[60.170817, 24.945757]"></angular-yandex-placemark>
  </angular-yandex-map>
</div>

component.css

.map {
  width: 1000px;
  height: 500px;
}

component.ts

import { YandexMapModule } from 'angular8-yandex-maps';

public mapOptions: YandexMapModule.IYandexMapOptions = {
  maxZoom:  12
};

Version 0.2.2

  • Placemark is added

  • Inputs for yandex-map is changed

  • Docs is updated

Map

Available inputs:

<angular-yandex-map [center]="[60.169931, 24.938513]" [zoom]="12" [mapOptions]="mapOptions" [mapState]="{margin: 20}"></angular-yandex-map>

Placemark

Available inputs:

  • geometry: Array
<angular-yandex-placemark [geometry]="[60.170817, 24.945757]"></angular-yandex-placemark>

License

MIT

Keywords

FAQs

Package last updated on 01 Sep 2019

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