Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 1995d4a

Browse files
committed
refactor(core): remove GOOGLE_MAPS_PROVIDERS
BREAKING CHANGE: previously deprecated GOOGLE_MAPS_PROVIDERS was removed. Please use AgmCoreModule instead. Closes #607
1 parent 3ae6f31 commit 1995d4a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/core/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ export * from './map-types';
1414
export {LatLngBounds, LatLng, LatLngLiteral, MapTypeStyle} from './services/google-maps-types';
1515

1616
/** @deprecated */
17-
export const GOOGLE_MAPS_PROVIDERS: any[] = [
17+
const GOOGLE_MAPS_PROVIDERS: any[] = [
1818
BROWSER_GLOBALS_PROVIDERS,
1919
provide(MapsAPILoader, {useClass: LazyMapsAPILoader}),
2020
];
2121

2222
/**
2323
* The angular2-google-maps core module. Contains all Directives/Services/Pipes
2424
* of the core module. Please use `AgmCoreModule.forRoot()` in your app module.
25-
*
26-
* @experimental
2725
*/
2826
@NgModule({declarations: GOOGLE_MAPS_DIRECTIVES, exports: GOOGLE_MAPS_DIRECTIVES})
2927
export class AgmCoreModule {

0 commit comments

Comments
 (0)