Skip to content

Drupal 8 module to connect with the google geocoder API

Notifications You must be signed in to change notification settings

devabuse/googlemaps_geocoder

Repository files navigation

Usage

This module creates services for use in other modules to connect with the google geocoder API. It also enables a route and permission that returns coords.

An example of how to implement this can be found in the GeocoderController class.

installation

git clone https://github.com/devabuse/googlemaps_geocoder

settings.local.php

You need to set the following in your settings.local file for this module to function:

// url of the geocoder service
$settings['googlemaps_geocoder.url'] = 'https://maps.googleapis.com/maps/api/geocode/json';

// a valid API key
$settings['googlemaps_geocoder.key'] = ''; 

About

Drupal 8 module to connect with the google geocoder API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages