Skip to content

fabrix-app/generics-google-maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generics-google-maps

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

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>'
    }
  }
}