mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
30 lines
775 B
YAML
30 lines
775 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'
|
|
|
|
A2nt\ElementalBasics\Elements\MapElement:
|
|
map_type: 'google-maps'
|
|
|
|
BetterBrief\GoogleMapField:
|
|
default_options:
|
|
api_key: '`GOOGLEMAPS_API_KEY`'
|
|
|
|
Symbiote\Addressable\MapboxGeocodeService:
|
|
mapbox_api_key: '`MAPBOX_API_KEY`'
|
|
|
|
SilverStripe\SiteConfig\SiteConfig:
|
|
map_type: "google-maps"
|
|
|