Skip to content

Commit 0649e2f

Browse files
committed
refactor(google-maps): remove standalone flag
Removes all of the standalone flags from the Google Maps components.
1 parent 2bbb602 commit 0649e2f

File tree

33 files changed

+5
-38
lines changed

33 files changed

+5
-38
lines changed

src/google-maps/google-map/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {GoogleMap} from '@angular/google-maps';
1212
@Component({
1313
selector: 'google-map-demo',
1414
templateUrl: 'google-map-demo.html',
15-
standalone: true,
1615
imports: [GoogleMap],
1716
})
1817
export class GoogleMapDemo {
@@ -33,7 +32,7 @@ export class GoogleMapDemo {
3332

3433
```html
3534
<!-- google-maps-demo.component.html -->
36-
<google-map
35+
<google-map
3736
height="400px"
3837
width="750px"
3938
[center]="center"

src/google-maps/google-map/google-map.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export const DEFAULT_WIDTH = '500px';
5656
@Component({
5757
selector: 'google-map',
5858
exportAs: 'googleMap',
59-
standalone: true,
6059
changeDetection: ChangeDetectionStrategy.OnPush,
6160
template: '<div class="map-container"></div><ng-content />',
6261
encapsulation: ViewEncapsulation.None,

src/google-maps/map-advanced-marker/map-advanced-marker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export const DEFAULT_MARKER_OPTIONS = {
4343
@Directive({
4444
selector: 'map-advanced-marker',
4545
exportAs: 'mapAdvancedMarker',
46-
standalone: true,
4746
})
4847
export class MapAdvancedMarker implements OnInit, OnChanges, OnDestroy, MapAnchorPoint {
4948
private readonly _googleMap = inject(GoogleMap);

src/google-maps/map-base-layer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {GoogleMap} from './google-map/google-map';
1616
@Directive({
1717
selector: 'map-base-layer',
1818
exportAs: 'mapBaseLayer',
19-
standalone: true,
2019
})
2120
export class MapBaseLayer implements OnInit, OnDestroy {
2221
protected readonly _map = inject(GoogleMap);

src/google-maps/map-bicycling-layer/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {GoogleMap, MapBicyclingLayer} from '@angular/google-maps';
1212
@Component({
1313
selector: 'google-map-demo',
1414
templateUrl: 'google-map-demo.html',
15-
standalone: true,
1615
imports: [GoogleMap, MapBicyclingLayer],
1716
})
1817
export class GoogleMapDemo {

src/google-maps/map-bicycling-layer/map-bicycling-layer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {GoogleMap} from '../google-map/google-map';
2121
@Directive({
2222
selector: 'map-bicycling-layer',
2323
exportAs: 'mapBicyclingLayer',
24-
standalone: true,
2524
})
2625
export class MapBicyclingLayer implements OnInit, OnDestroy {
2726
private _map = inject(GoogleMap);

src/google-maps/map-circle/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import {GoogleMap, MapCircle} from '@angular/google-maps';
1212
@Component({
1313
selector: 'google-map-demo',
1414
templateUrl: 'google-map-demo.html',
15-
standalone: true,
16-
imports: [GoogleMap, MapCircle],
15+
imports: [GoogleMap, MapCircle],
1716
})
1817
export class GoogleMapDemo {
1918
center: google.maps.LatLngLiteral = {lat: 24, lng: 12};
@@ -28,5 +27,5 @@ export class GoogleMapDemo {
2827
<!-- google-maps-demo.component.html -->
2928
<google-map height="400px" width="750px" [center]="center" [zoom]="zoom">
3029
<map-circle [center]="circleCenter" [radius]="radius" />
31-
</google-map>
30+
</google-map>
3231
```

src/google-maps/map-circle/map-circle.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import {MapEventManager} from '../map-event-manager';
3232
@Directive({
3333
selector: 'map-circle',
3434
exportAs: 'mapCircle',
35-
standalone: true,
3635
})
3736
export class MapCircle implements OnInit, OnDestroy {
3837
private readonly _map = inject(GoogleMap);

src/google-maps/map-directions-renderer/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ import {GoogleMap, MapDirectionsRenderer, MapDirectionsService} from '@angular/g
2727
@Component({
2828
selector: 'google-map-demo',
2929
templateUrl: 'google-map-demo.html',
30-
standalone: true,
31-
imports: [GoogleMap, MapDirectionsRenderer],
30+
imports: [GoogleMap, MapDirectionsRenderer],
3231
})
3332
export class GoogleMapDemo {
3433
center: google.maps.LatLngLiteral = {lat: 24, lng: 12};

src/google-maps/map-directions-renderer/map-directions-renderer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import {MapEventManager} from '../map-event-manager';
3434
@Directive({
3535
selector: 'map-directions-renderer',
3636
exportAs: 'mapDirectionsRenderer',
37-
standalone: true,
3837
})
3938
export class MapDirectionsRenderer implements OnInit, OnChanges, OnDestroy {
4039
private readonly _googleMap = inject(GoogleMap);

0 commit comments

Comments
 (0)