You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular 4 is coming this year and this project aims to support
all upcoming angular versions.
Because of this reason, we rename the project.
BREAKING CHANGES
** IMPORTANT **
The project and NPM package name changes:
Old name: angular2-google-maps
Old NPM pkg name: angular2-google-maps
New name: angular-google-maps
New NPM pkg name: @angular-google-maps/core
To have a consisten naming pattern, we also change the
component/directives names
| Old class name / old selector | New class name / new selector |
|-------------------------------------------------------------|---------------------------------------|
| SebmGoogleMap / sebm-google-map | AgmMap / agm-map |
| SebmGoogleMapCircle / sebm-google-map-circle | AgmCircle / agm-circle
|
| SebmGoogleMapInfoWindow / sebm-google-map-info-window | AgmInfoWindow
/ agm-info-window |
| SebmGoogleMapKmlLayer / sebm-google-map-kml-layer | AgmKmlLayer /
agm-kml-layer |
| SebmGoogleMapMarker / sebm-google-map-marker | AgmMarker / agm-marker
|
| SebmGoogleMapPolygon / sebm-map-polygon | AgmPolygon / agm-polygon |
| SebmGoogleMapPolyline / sebm-google-map-polyline | AgmPolyline /
agm-polyline |
| SebmGoogleMapPolylinePoint / sebm-google-map-polyline-point |
AgmPolylinePoint / agm-polyline-point |
The package structure also changes. The root directory now contains
**esm** code (ES5 code with ES2015 modules).
A CommonJS compatible format and TS are not part of the package any
more! This change aligns with structure @angular packages.
The styling of the maps is now more intuitive.
To style the map, please use the `agm-map` element (or a custom class or
ID) directly.
The `.sebm-google-map-container` css class is deprecated and will be
gone with the next version.
The `.sebm.google-map-container-inner` is now called
`.agm-map-container-inner`. `.sebm-google-map-container-inner` is
depcrecated and will be gone with the next version.
[](https://travis-ci.org/SebastianM/angular2-google-maps)[](https://gitter.im/SebastianM/angular2-google-maps?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[](http://badge.fury.io/js/angular2-google-maps)
If you just want to play with `angular2-google-maps` and don't want to set up a full project, you can use the following Plunker. It has all the dependencies to play with Angular2, Typescript and of course `angular2-google-maps`:
16
+
If you just want to play with `angular2-google-maps` and don't want to set up a full project, you can use the following Plunker. It has all the dependencies to play with Angular, Typescript and of course `angular2-google-maps`:
18
17
19
18
[» Play with angular2-google-maps on Plunker](http://plnkr.co/edit/YX7W20?p=preview)
Copy file name to clipboardExpand all lines: assets/release/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
angular2-google-maps
1
+
angular-google-maps - Angular 2+ Google Maps components
2
2
=========
3
3
4
-
The sources for this package are in the [angular2-google-maps](https://github.com/SebastianM/angular2-google-maps) repository. Please file issues and pull requests against that repo.
4
+
The sources for this package are in the [angular-google-maps](https://github.com/SebastianM/angular-google-maps) repository. Please file issues and pull requests against that repo.
5
5
6
6
This package contains different sources for different users:
Copy file name to clipboardExpand all lines: docs/getting-started.jade
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,29 @@
1
1
include../_includes/utils
2
2
3
-
+section_title('Playing with angular2-google-maps', 'playing')
3
+
+section_title('Playing with angular-google-maps (AGM)', 'playing')
4
4
:marked
5
-
If you just want to play with `angular2-google-maps` and don't want to set up a full project with NPM, you can use the following Plunker. It has all the dependencies to play with Angular2, Typescript and of course `angular2-google-maps`:
5
+
If you just want to play with AGM and don't want to set up a full project with NPM, you can use the following Plunker. It has all the dependencies to play with Angular 2, Typescript and of course `angular-google-maps`:
6
6
7
-
a.button.button-icon.blue-light(href='http://plnkr.co/edit/YX7W20?p=preview')» Play with angular2-google-maps on Plunker
7
+
a.button.button-icon.blue-light(href='http://plnkr.co/edit/YX7W20?p=preview')» Play with angular-google-maps on Plunker
8
8
9
9
+section_title('Setting up a basic project structure', 'project-structure')
10
10
11
11
.note.blue
12
12
h4.note-title Note
13
13
p.note-description
14
14
:marked
15
-
**If you're familiar with setting up Angular 2 projects with Angular CLI & TypeScript, you can skip this part and move on to this part:**
15
+
**If you're familiar with setting up Angular projects with Angular CLI & TypeScript, you can skip this part and move on to this part:**
16
16
17
-
**[Setting up angular2-google-maps](#angular2-google-maps-setup)**
17
+
**[Setting up angular-google-maps (AGM)](#angular-google-maps-setup)**
18
18
19
19
:marked
20
20
### Installing TypeScript
21
-
`angular2-google-maps` works best with [TypeScript](http://www.typescriptlang.org/) version 2+.
21
+
`AGM` works best with [TypeScript](http://www.typescriptlang.org/) version 2+.
22
22
If you have an older version of TypeScript or haven't installed TypeScript yet, please run the following command:
* Starts the TypeScript compiler and compiles all sources files (watches also for file changes in the source files and recompiles all files if something has changed)
169
169
* Starts a local web server to serve the Angular 2 application. It refreshes the page when served files change.
170
170
171
-
**When everything works as expected, you should see your first Google Map created with angular2-google-maps 🎉🎉🎉!**
171
+
**When everything works as expected, you should see your first Google Map created with AGM 🎉🎉🎉!**
172
172
173
173
+section_title('Questions?', 'questions')
174
174
:marked
175
-
When you have problems setting up **angular2-google-maps** or questions in general, the best way is to join the chat where you find nice people from the community that can answer you questions:
175
+
When you have problems setting up **angular-google-maps** or questions in general, the best way is to join the chat where you find nice people from the community that can answer you questions:
176
176
177
-
a.button.button-icon.blue-light(href='https://gitter.im/SebastianM/angular2-google-maps')» Chat on Gitter
177
+
a.button.button-icon.blue-light(href='https://gitter.im/SebastianM/angular-google-maps')» Chat on Gitter
0 commit comments