Download the PHP package invoice/nova-amap without Composer
On this page you can find all versions of the php package invoice/nova-amap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package nova-amap
nova-amap
Laravel Nova高德地图
Installation
composer require invoice/nova-amap
use Ofancn\Amap\Amap;
public function fields(Request $request) {
$location = $request->user()->location;
return [
ID::make()->sortable(),
BelongsTo::make(__('用户'), 'user', User::class)->searchable(),
Text::make(__('名称'), 'name')->sortable()->rules('required', 'string', 'max:255'),
Amap::make(__('位置'), 'amap')->initLocation($location->latitude ?? 22.56153, $location->longitude ?? 113.4911)->zoom(12)->rules('required', 'json'),
];
}
{"lat": 22.097868, "lng": 113.536494, "address": "广东省珠海市香洲区横琴镇环岛东路85珠海长隆海洋王国"}
All versions of nova-amap with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package invoice/nova-amap contains the following files
Loading the files please wait ....