UNPKG

@ng-maps/core

Version:

**@ng-maps/core** is a simple, modular and tree-shakable library for displaying google-maps inside an angular application

36 lines (35 loc) 2.53 kB
import { InjectionToken } from '@angular/core'; import { NgMapsCircleDirective } from './directives/circle'; import { NgMapsFitBoundsDirective } from './directives/fit-bounds'; import { NgMapsInfoWindowComponent } from './directives/info-window'; import { NgMapsViewComponent } from './directives/map'; import { NgMapsMarkerComponent } from './directives/marker'; import { NgMapsPolygonDirective } from './directives/polygon'; import { NgMapsPolyline } from './directives/polyline'; import { NgMapsPolylinePoint } from './directives/polyline-point'; import { NgMapsRectangleDirective } from './directives/rectangle'; import * as i0 from "@angular/core"; import * as i1 from "./directives/map"; import * as i2 from "./directives/marker"; import * as i3 from "./directives/info-window"; import * as i4 from "./directives/fit-bounds"; import * as i5 from "./directives/circle"; import * as i6 from "./directives/polygon"; import * as i7 from "./directives/polyline"; import * as i8 from "./directives/polyline-point"; import * as i9 from "./directives/rectangle"; export declare const MAP_PROVIDER: InjectionToken<string>; export declare function isGoogleMaps(token: string): token is "GoogleMaps"; export declare function isHereMaps(token: string): token is "HereMaps"; /** * @internal */ export declare function coreDirectives(): (typeof NgMapsViewComponent | typeof NgMapsMarkerComponent | typeof NgMapsInfoWindowComponent | typeof NgMapsFitBoundsDirective | typeof NgMapsCircleDirective | typeof NgMapsPolygonDirective | typeof NgMapsPolylinePoint | typeof NgMapsPolyline | typeof NgMapsRectangleDirective)[]; /** * The ng-maps core module. Contains all Directives/Services/Pipes */ export declare class NgMapsCoreModule { static ɵfac: i0.ɵɵFactoryDeclaration<NgMapsCoreModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<NgMapsCoreModule, [typeof i1.NgMapsViewComponent, typeof i2.NgMapsMarkerComponent, typeof i3.NgMapsInfoWindowComponent, typeof i4.NgMapsFitBoundsDirective, typeof i5.NgMapsCircleDirective, typeof i6.NgMapsPolygonDirective, typeof i7.NgMapsPolyline, typeof i8.NgMapsPolylinePoint, typeof i9.NgMapsRectangleDirective], never, [typeof i1.NgMapsViewComponent, typeof i2.NgMapsMarkerComponent, typeof i3.NgMapsInfoWindowComponent, typeof i4.NgMapsFitBoundsDirective, typeof i5.NgMapsCircleDirective, typeof i6.NgMapsPolygonDirective, typeof i7.NgMapsPolyline, typeof i8.NgMapsPolylinePoint, typeof i9.NgMapsRectangleDirective]>; static ɵinj: i0.ɵɵInjectorDeclaration<NgMapsCoreModule>; }