webbuilders-group / silverstripe-google-maps-embed
Adds support for embedding Google Maps in Silverstripe via oEmbed
Installs: 84
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- embed/embed: ^4
- silverstripe/framework: ~4.11 | ^5
Requires (Dev)
README
Adds support for embedding Google Maps in Silverstripe via oEmbed
Maintainer Contact
- Ed Chipman (UndefinedOffset)
Requirements
- Silverstripe Framework 4.11+
- embed/embed 4.0+
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`'