thewebmen / silverstripe-elemental-maps
Silverstripe elemental google maps element
Installs: 2 007
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 11
Forks: 2
Open Issues: 1
Type:silverstripe-vendormodule
Requires
- gorriecoe/silverstripe-linkfield: ^1.0
- silverstripe/cms: ^4.0@dev
- silverstripe/vendor-plugin: ^1.0
- thewebmen/silverstripe-addressfield: ^1.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-12-20 22:59:20 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 .