You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can access other parameter like `latitude, longitude, street_number, route, locality, administrative_area_level_1, country, postal_code`, along with everything available in the - every field present in the [PlaceResult object](https://developers.google.com/maps/documentation/javascript/reference/#PlaceResult)
54
54
55
55
```php
56
-
use YieldStudio\NovaGoogleAutocomplete\AddressMetadata;
57
-
use YieldStudio\NovaGoogleAutocomplete\GoogleAutocomplete;
56
+
use Hnooz\NovaGoogleAutocomplete\AddressMetadata;
57
+
use Hnooz\NovaGoogleAutocomplete\GoogleAutocomplete;
58
58
59
59
// Now this address field will search and store the address as a string, but also made available the values in the withValues array
If you want to concatenate certain elements of the geocoded object that is returned by Google, using `{{` and `}}`, wrap the key like you would above; like so:
91
91
92
92
```php
93
-
use YieldStudio\NovaGoogleAutocomplete\AddressMetadata;
94
-
use YieldStudio\NovaGoogleAutocomplete\GoogleAutocomplete;
93
+
use Hnooz\NovaGoogleAutocomplete\AddressMetadata;
94
+
use Hnooz\NovaGoogleAutocomplete\GoogleAutocomplete;
@@ -109,7 +109,7 @@ So the value that would be rendered within the coordinates input would be someth
109
109
If you would like to use the **long_name** version of the geocoded object (Kansas versus KS), you can define the `GoogleAutocomplete` field values with dot notation followed with the name version you want to use; like so:
110
110
111
111
```php
112
-
use YieldStudio\NovaGoogleAutocomplete\GoogleAutocomplete;
112
+
use Hnooz\NovaGoogleAutocomplete\GoogleAutocomplete;
113
113
114
114
GoogleAutocomplete::make('Address')
115
115
->withValues([
@@ -127,8 +127,8 @@ Which would return:
127
127
You can change the type of places that are returned by the autocomplete using the placeType() method. You can use any of the values listed at [https://developers.google.com/places/supported_types#table3](https://developers.google.com/places/supported_types#table3)
128
128
129
129
```php
130
-
use YieldStudio\NovaGoogleAutocomplete\AddressMetadata;
131
-
use YieldStudio\NovaGoogleAutocomplete\GoogleAutocomplete;
130
+
use Hnooz\NovaGoogleAutocomplete\AddressMetadata;
131
+
use Hnooz\NovaGoogleAutocomplete\GoogleAutocomplete;
132
132
133
133
// This autocomplete field will return results that match a business name instead of address.
0 commit comments