Download the PHP package myhayo/laravel-admin-ext-amap without Composer
On this page you can find all versions of the php package myhayo/laravel-admin-ext-amap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download myhayo/laravel-admin-ext-amap
More information about myhayo/laravel-admin-ext-amap
Files in myhayo/laravel-admin-ext-amap
Download myhayo/laravel-admin-ext-amap
More information about myhayo/laravel-admin-ext-amap
Files in myhayo/laravel-admin-ext-amap
Vendor myhayo
Package laravel-admin-ext-amap
Short Description amap for laravel admin
License MIT
Homepage https://github.com/myhayo/laravel-admin-ext-amap
Package laravel-admin-ext-amap
Short Description amap for laravel admin
License MIT
Homepage https://github.com/myhayo/laravel-admin-ext-amap
Please rate this library. Is it a good library?
Informations about the package laravel-admin-ext-amap
laravel-admin extension amap
安装
composer require myhayo/laravel-admin-ext-amap
使用
配置
打开admin.php, 找到extensions配置段, 加入以下配置:
// 高德地图
'amap' => [
// 是否启用插件
'enable' => true,
'config' => [
// API KEY
'api_key' => '3693fe745aea0df8852739dac08a22fb',
],
],
调用
$form->amap('lat 字段名', 'lng 字段名', 'address 地址字段名', 'label');
// 隐藏经纬度输入框
$form->amap('lat 字段名', 'lng 字段名', 'address 地址字段名', 'label')->hideLngLatInput();
All versions of laravel-admin-ext-amap with dependencies
PHP Build Version
Package Version
The package myhayo/laravel-admin-ext-amap contains the following files
Loading the files please wait ....