sdk-google-map
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

Description:

Simple to use (Angular) embedded Google map.

INSTALLATION:

Using NPM:

npm install --save sdk-google-map

CONFIGURATION:

To configure the sdk-google-map for your application, add the following lines to your app.module.ts file:

import { SDKGoogleMapModule } from 'sdk-google-map';

@NgModule({
    imports: [
        SDKGoogleMapModule
    ]
})
export class AppModule { }

USAGE:

<sdk-google-map location="1600 Amphitheatre Parkway Mountain View, CA 94043, USA"></sdk-google-map>

<sdk-google-map latitude="37.422161" longitude="-122.084267"></sdk-google-map>

You can also control the zoom, height and width:

<sdk-google-map location="1600 Amphitheatre Parkway Mountain View, CA 94043, USA" height="500px" width="750px" zoom="12"></sdk-google-map>

There's also the ability to apply a "loading" affect while the map is loading your location:

<sdk-google-map location="1600 Amphitheatre Parkway Mountain View, CA 94043, USA" isLoading="true"></sdk-google-map>

Install

DownloadsWeekly Downloads

90

Version

1.0.15

License

MIT

Unpacked Size

32.7 kB

Total Files

12

Last publish

Collaborators

  • soodohkohd