Display a map, directions, and contact info for your location.
- dnadesign/silverstripe-elemental: ^4.8
- dynamic/silverstripe-geocoder: ^2.0
composer require dynamic/silverstripe-elemental-customer-service
Adds a Customer Service block to display a map, directions and contact info for your location. Userful for a Contact Us page.
In order to use the Geocoder and address map, you will need to set two Google API keys. Each key needs to have specific API libraries enabled:
geocoder_api_key
- Geocoding API
map_api_key
- Maps JavaScript API
- Maps Static API
They can be set in your YML file like this:
Dynamic\SilverStripeGeocoder\GoogleGeocoder:
geocoder_api_key: 'your-key-here'
map_api_key: 'your-key-here'
For more, see Silverstripe Geocoder
See Elemental modules by Dynamic
See SilverStripe Elemental Configuration
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.