silverstripe-webpack/app/_config/map.yml

26 lines
657 B
YAML
Raw Normal View History

---
Name: 'webapp-map'
After:
- 'silverstripe-mapboxfield'
- 'addressable'
---
SilverStripe\Core\Injector\Injector:
A2nt\SilverStripeMapboxField\MarkerExtension:
properties:
2020-12-28 00:29:43 +01:00
geocoder: '%$Symbiote\Addressable\MapboxGeocodeService'
Symbiote\Addressable\GeocodeServiceInterface:
class: Symbiote\Addressable\MapboxGeocodeService
A2nt\SilverStripeMapboxField\MapboxField:
map_style: 'mapbox://styles/mapbox/streets-v9' #'mapbox://styles/mapbox/light-v10'
Site\Elements\MapElement:
map_type: 'google-maps'
BetterBrief\GoogleMapField:
default_options:
api_key: ''
Symbiote\Addressable\MapboxGeocodeService:
mapbox_api_key: ''