webbuilders-group/silverstripe-google-maps-embed

Adds support for embedding Google Maps in Silverstripe via oEmbed

1.1.1 2023-09-01 14:14 UTC

This package is auto-updated.

Last update: 2024-11-30 02:49:32 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`'