@fabrix/generics-google-maps

Generic: Google Maps adapter for Spool-generics

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@fabrix/generics-google-maps
1.1.04 years ago4 years agoMinified + gzip package size for @fabrix/generics-google-maps in KB

Readme

generics-google-maps
!Gittergitter-imagegitter-url !NPM versionnpm-imagenpm-url !Build Statusci-imageci-url !Test Coveragecoverage-imagecoverage-url !Dependency Statusdaviddm-imagedaviddm-url !Follow @FabrixApp on Twittertwitter-imagetwitter-url
Generic Geolocation Provider for google-maps supplied by Spool-Generics.
Looking for Generics?

Install

$ npm install --save @fabrix/generics-google-maps

Configure

// config/generics.ts
import { GoogleMapsGeneric } from '@fabrix/generics-google-maps'
export const generics = {
  // make the key googleMaps, alternatively make the key geolocation_provider to be the default geolocation provider 
  googleMaps: {
    adapter: GoogleMapsGeneric,
    config: {
        key: '<your api key>'
    }
  }
}