thewebmen/silverstripe-elemental-maps

Silverstripe elemental google maps element

Installs: 1 985

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 10

Forks: 2

Open Issues: 1

Type:silverstripe-vendormodule

v2.0.1 2022-10-20 18:29 UTC

README

For compatibility with sheadawson/silverstripe-linkable please use v1.x

Description

Google Maps element for Elemental

Config

Add the Google Maps API key:

TheWebmen\ElementalMaps\Model\ElementalMaps:
  maps_api_key: 'API_KEY'

Or add the following variable to your .env:

WDVLP_ELEMENTAL_MAPS_API_KEY='API_KEY'

Upgrading from v1.x to v2.x

In v2.x sheadawson/silverstripe-linkable is replaced by gorriecoe/silverstripe-linkfield. When upgrading, you need to be aware of the fact that the links needs to get migrated.

You may can use https://github.com/dynamic/silverstripe-link-migrator (as refer) to do this migration .