PHP code example of jfeid / nova-google-maps
1. Go to this page and download the library: Download jfeid/nova-google-maps library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jfeid / nova-google-maps example snippets
NovaGoogleMaps::make('Location')->setValue($this->location_lat, $this->location_lng)
NovaGoogleMaps::make('Location')->setAttributes('my_latitude', 'my_longitude')
bash
php artisan vendor:publish --provider="Jfeid\NovaGoogleMaps\FieldServiceProvider" --tag="config"