silverstripe-webpack/app/_config/api-map.yml

30 lines
775 B
YAML
Raw Permalink Normal View History

---
Name: webapp-api-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'
2021-08-02 22:17:27 +02:00
A2nt\ElementalBasics\Elements\MapElement:
map_type: 'google-maps'
BetterBrief\GoogleMapField:
default_options:
2023-10-31 20:37:48 +01:00
api_key: '`GOOGLEMAPS_API_KEY`'
Symbiote\Addressable\MapboxGeocodeService:
2023-10-31 20:37:48 +01:00
mapbox_api_key: '`MAPBOX_API_KEY`'
2022-06-24 00:08:30 +02:00
SilverStripe\SiteConfig\SiteConfig:
map_type: "google-maps"