aurelia2-google-maps
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

aurelia2-google-maps

A plugin for working with Google Maps in Aurelia 2 applications.

Installation

npm install aurelia2-google-maps to install the plugin.

Inside of main.ts/main.js import the plugin and register it:

import { GoogleMapsConfiguration } from 'aurelia2-google-maps';

Aurelia.register(
    GoogleMapsConfiguration.customize((config) => {
        config.options({
            apiKey: '',
            region: 'AU',
            options: {
                backgroundColor: '#495061',
            }
        });
    }),
);

/aurelia2-google-maps/

    Package Sidebar

    Install

    npm i aurelia2-google-maps

    Weekly Downloads

    4

    Version

    0.0.19

    License

    MIT

    Unpacked Size

    113 kB

    Total Files

    35

    Last publish

    Collaborators

    • vheissu