silverstripe-webpack/app/_config/api-map.yml
2021-03-15 03:45:35 +07:00

26 lines
658 B
YAML

---
Name: webapp-api-map
After:
- 'silverstripe-mapboxfield'
- 'addressable'
---
SilverStripe\Core\Injector\Injector:
A2nt\SilverStripeMapboxField\MarkerExtension:
properties:
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'
App\Elements\MapElement:
map_type: 'google-maps'
BetterBrief\GoogleMapField:
default_options:
api_key: ''
Symbiote\Addressable\MapboxGeocodeService:
mapbox_api_key: ''