Skip to content

Commit

Permalink
Emit Address
Browse files Browse the repository at this point in the history
  • Loading branch information
devmtm committed Apr 14, 2019
1 parent 3a09c76 commit bc9827a
Show file tree
Hide file tree
Showing 4 changed files with 690 additions and 599 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ use DigitalCloud\AddressField\AddressField;
AddressField::make('Address'),

//You can enable lat and lng inputs:
AddressField::make('Address')
GoogleAutocomplete::make('Address')
->withLatLng(),

//You can enable map picking address:
AddressField::make('Address')
GoogleAutocomplete::make('Address')
->withMap(),

//You can set the init location and zoom for the map:
AddressField::make('Address')
GoogleAutocomplete::make('Address')
->withMap()->initLocation('24.6', '46.7')->zoom(5),

```
Expand Down
7 changes: 1 addition & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
"description": "A Laravel Nova Address field.",
"keywords": [
"laravel",
"nova",
"field",
"address",
"address autocomplete",
"google places",
"google map"
"nova"
],
"license": "MIT",
"require": {
Expand Down
Loading

0 comments on commit bc9827a

Please sign in to comment.