We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7711a1c commit 8e3ea75Copy full SHA for 8e3ea75
src/GoogleMapField.php
@@ -39,7 +39,7 @@ class GoogleMapField extends FormField {
39
* @var FormField
40
*/
41
protected $zoomField;
42
-
+
43
/**
44
45
@@ -178,6 +178,7 @@ protected function requireDependencies() {
178
if($key = $this->getOption('api_key')) {
179
$gmapsParams['key'] = $key;
180
}
181
+ $this->extend('updateGoogleMapsParams', $gmapsParams);
182
Requirements::css('betterbrief/silverstripe-googlemapfield: client/css/GoogleMapField.css');
183
Requirements::javascript('betterbrief/silverstripe-googlemapfield: client/js/GoogleMapField.js');
184
Requirements::javascript('//maps.googleapis.com/maps/api/js?' . http_build_query($gmapsParams));
0 commit comments