generics-google-maps
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>'
}
}
}