webbuilders-group/silverstripe-google-maps-embed

Adds support for embedding Google Maps in Silverstripe via oEmbed

1.0.1 2022-08-12 17:14 UTC

This package is auto-updated.

Last update: 2022-08-12 17:15:45 UTC


README

Adds support for embedding Google Maps in Silverstripe via oEmbed

Maintainer Contact

Requirements

Installation

composer require webbuilders-group/silverstripe-google-maps-embed

Configuration

This module requires a Google Maps API key (you can find out how to set that up here) with at least the "Maps Embed API" enabled. Then you need to adjust your yaml config to tell the module what that key is. It's highly recommended that you use an environment variable to store the API key rather than checking it into the repo.

WebbuildersGroup\GoogleMapsEmbed\Embed:
  api_key: '`GOOGLE_MAPS_API_KEY`'