jexme / nova-yandex-map-coordionate-picker
Coordinate picker on Yandex Map for Laravel Nova
Installs: 1 360
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 4
Open Issues: 0
Language:Vue
Requires
- php: ^7.3|^8.0|^8.1|^8.2
- laravel/framework: ^8.0|^9.0|^10.0
- laravel/nova: ^4.0
README
This field allows you to select coordinates from Yandex.Maps for Laravel Nova
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require jexme/nova-yandex-map-coordionate-picker
Now publish config and localization files:
php artisan vendor:publish --tag=yandex-map-picker-config php artisan vendor:publish --tag=yandex-map-picker-lang
Add your api key to .env file
YANDEX_MAP_PICKER_API_KEY=#######################
Usage
Add the use declaration to your resource and use the fields:
use Jexme\YandexMapPicker\YandexMapPicker; // .... YandexMapPicker::make('Coordinates'), // also you can set zoom from 1 to 20 (default: 12) YandexMapPicker::make('Coordinates')->setZoom(12),