Input address with google maps popup
$this->form[] = ['label'=>'Address','name'=>'address','type'=>'googlemaps'];
Field Name | Data Type |
---|---|
id | int(pk) |
created_at | timestamp |
name | varchar(255) |
address | varchar(255) |
lat | varchar(255) |
lng | varchar(255) |
$this->form[] = ['label'=>'Address','name'=>'address','type'=>'googlemaps','latitude'=>'lat','longitude'=>'lng'];
Attribute Name | Example | Description |
---|---|---|
latitude | latitude |
latitude field |
longitude | longitude |
longitude field |