Skip to content

Commit 148de46

Browse files
committed
fix(project): minor
1 parent f1076e0 commit 148de46

File tree

3 files changed

+28
-20
lines changed

3 files changed

+28
-20
lines changed

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
[![Coverage Status](https://coveralls.io/repos/github/angular-material-extensions/google-maps-autocomplete/badge.svg?branch=master)](https://coveralls.io/github/angular-material-extensions/google-maps-autocomplete?branch=master)
1313
[![Build Status](https://travis-ci.org/angular-material-extensions/google-maps-autocomplete.svg?branch=master)](https://travis-ci.org/angular-material-extensions/google-maps-autocomplete)
1414
[![CircleCI branch](https://img.shields.io/circleci/project/github/angular-material-extensions/google-maps-autocomplete/master.svg?label=circleci)](https://circleci.com/gh/angular-material-extensions/google-maps-autocomplete)
15-
[![dependency Status](https://david-dm.org/angular-material-extensions/google-maps-autocomplete/status.svg)](https://david-dm.org/angular-material-extensions/google-maps-autocomplete)
16-
[![devDependency Status](https://david-dm.org/angular-material-extensions/google-maps-autocomplete/dev-status.svg?branch=master)](https://david-dm.org/angular-material-extensions/google-maps-autocomplete#info=devDependencies)
1715
[![Greenkeeper Badge](https://badges.greenkeeper.io/angular-material-extensions/google-maps-autocomplete.svg)](https://greenkeeper.io/)
1816
[![license](https://img.shields.io/github/license/angular-material-extensions/google-maps-autocomplete.svg?style=flat-square)](https://github.com/angular-material-extensions/google-maps-autocomplete/blob/master/LICENSE)
1917
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/gdi2290/awesome-angular)
@@ -29,9 +27,8 @@
2927
src="https://raw.githubusercontent.com/angular-material-extensions/google-maps-autocomplete/HEAD/assets/v3.0.0/search.gif">
3028
</p>
3129

32-
Stating with v1.3.0, you can now use this library without material2's dependency! To enable this goolgle maps
33-
autocomplate api as feature, you can just add `matGoogleMapsAutocomplete`
34-
to any html input element!
30+
31+
`Please use lib v8 only with angular v14`
3532

3633
## Built by and for developers :heart:
3734

@@ -68,7 +65,7 @@ at [https://angular-material-extensions.github.io/google-maps-autocomplete](http
6865

6966
## Dependencies
7067

71-
* [Angular](https://angular.io) (*requires* Angular 2 or higher | we are using already V11 ;)
68+
* [Angular](https://angular.io) (*requires* Angular latest | we are using already V14 ;)
7269

7370
for the directive as standalone you just need to install the agm core module
7471

@@ -113,10 +110,10 @@ npm install --save @angular-material-extensions/google-maps-autocomplete
113110

114111
for the ui input component, please consider installing the following packages
115112

116-
- [angular animations v11.x](https://www.npmjs.com/package/@angular/animations)
117-
- [angular forms v11.x](https://www.npmjs.com/package/@angular/forms)
118-
- [angular material v11.x](https://www.npmjs.com/package/@angular/material)
119-
- [angular cdk v11.x](https://www.npmjs.com/package/@angular/cdk)
113+
- [angular animations v14.x](https://www.npmjs.com/package/@angular/animations)
114+
- [angular forms v14.x](https://www.npmjs.com/package/@angular/forms)
115+
- [angular material v14.x](https://www.npmjs.com/package/@angular/material)
116+
- [angular cdk v14.x](https://www.npmjs.com/package/@angular/cdk)
120117
- [agm - angular google maps v3.0.0-beta.0](https://www.npmjs.com/package/@agm/core)
121118

122119
```bash
@@ -537,7 +534,7 @@ Built by and for developers :heart: we will help you :punch:
537534

538535
## License
539536

540-
Copyright (c) 2019-2020 [Anthony Nahas](https://github.com/AnthonyNahas). Licensed under the MIT License (
537+
Copyright (c) 2019-2022 [Anthony Nahas](https://github.com/AnthonyNahas). Licensed under the MIT License (
541538
MIT) <p align="center">
542539
<img alt="angular-material-extensions's logo"
543540
height="92px" width="92px" style="text-align: center;"

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {Component, OnInit} from '@angular/core';
22
import {Appearance, GermanAddress, Location} from '@angular-material-extensions/google-maps-autocomplete';
3-
import {Angulartics2GoogleAnalytics} from 'angulartics2/ga';
43
import {UntypedFormControl, UntypedFormGroup, Validators} from '@angular/forms';
54
import PlaceResult = google.maps.places.PlaceResult;
5+
import {Angulartics2GoogleAnalytics} from 'angulartics2';
66

77
@Component({
88
selector: 'app-root',

src/index.html

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,29 @@
4949
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
5050

5151
<!-- Global site tag (gtag.js) - Google Analytics -->
52-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-114342493-8"></script>
53-
<script>
54-
window.dataLayer = window.dataLayer || [];
52+
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-114342493-8"></script>-->
53+
<!-- <script>-->
54+
<!-- window.dataLayer = window.dataLayer || [];-->
55+
56+
<!-- function gtag() {-->
57+
<!-- dataLayer.push(arguments);-->
58+
<!-- }-->
5559

56-
function gtag() {
57-
dataLayer.push(arguments);
58-
}
60+
<!-- gtag('js', new Date());-->
5961

60-
gtag('js', new Date());
62+
<!-- gtag('config', 'UA-114342493-8');-->
63+
<!-- </script>-->
64+
<!-- Google Analytics -->
65+
<script>
66+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
67+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
68+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
69+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6170

62-
gtag('config', 'UA-114342493-8');
71+
ga('create', 'UA-114342493-8', 'auto');
72+
ga('send', 'pageview');
6373
</script>
74+
<!-- End Google Analytics -->
6475
</head>
6576
<body>
6677
<app-root></app-root>

0 commit comments

Comments
 (0)