angular8-yandex-maps
Advanced tools
Comparing version 17.1.0 to 18.0.0
/** | ||
* Copied from angular/components/google-maps and updated for Yandex.Maps API. | ||
* {@link https://github.com/angular/components/blob/master/src/google-maps/map-event-manager.ts} | ||
* {@link https://github.com/angular/components/blob/main/src/google-maps/map-event-manager.ts} | ||
*/ | ||
@@ -5,0 +5,0 @@ import { NgZone } from '@angular/core'; |
{ | ||
"name": "angular8-yandex-maps", | ||
"version": "17.1.0", | ||
"version": "18.0.0", | ||
"description": "Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API", | ||
@@ -16,3 +16,3 @@ "repository": { | ||
"name": "Daniil Dubrava", | ||
"email": "daniil.dubrava@yandex.ru" | ||
"email": "dubrava.daniil@gmail.com" | ||
}, | ||
@@ -24,9 +24,2 @@ "license": "MIT", | ||
"homepage": "https://github.com/ddubrava/angular8-yandex-maps#readme", | ||
"peerDependencies": { | ||
"@angular/common": "^16.0.0 || ^17.0.0", | ||
"@angular/core": "^16.0.0 || ^17.0.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.3.0" | ||
}, | ||
"sideEffects": false, | ||
@@ -45,3 +38,6 @@ "module": "fesm2022/angular8-yandex-maps.mjs", | ||
} | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.3.0" | ||
} | ||
} |
@@ -14,3 +14,3 @@ <h1 align="center">Angular8-yandex-maps</h1> | ||
<a href="https://codecov.io/gh/ddubrava/angular8-yandex-maps"> | ||
<img src="https://codecov.io/gh/ddubrava/angular8-yandex-maps/branch/master/graph/badge.svg?token=ZU50NBBBH6" alt="Codecov"> | ||
<img src="https://codecov.io/gh/ddubrava/angular8-yandex-maps/branch/main/graph/badge.svg?token=ZU50NBBBH6" alt="Codecov"> | ||
</a> | ||
@@ -35,3 +35,3 @@ </p> | ||
| ---------------------- | --------------- | | ||
| v16, v17 | v17.x | | ||
| v16, v17, v18 | v18.x | | ||
| v15 | v15.x | | ||
@@ -44,8 +44,25 @@ | v14 | v14.x | | ||
```bash | ||
npm install angular8-yandex-maps@^8.0.0 | ||
``` | ||
Documentation for older versions can be found using the [branches](https://github.com/ddubrava/angular8-yandex-maps/branches/all). | ||
## Usage | ||
#### component.html | ||
```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 | ||
```css | ||
.container { | ||
width: 1000px; | ||
height: 500px; | ||
} | ||
``` | ||
### SCAM | ||
@@ -82,25 +99,4 @@ | ||
#### component.html | ||
```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 | ||
```css | ||
.container { | ||
width: 1000px; | ||
height: 500px; | ||
} | ||
``` | ||
### Standalone | ||
#### component.ts | ||
###### Default map config options | ||
@@ -136,20 +132,1 @@ | ||
``` | ||
#### component.html | ||
```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 | ||
```css | ||
.container { | ||
width: 1000px; | ||
height: 500px; | ||
} | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
1215999
128