{"id":22542990,"url":"https://github.com/naifalshaye/nova-map-address","last_synced_at":"2025-04-09T22:53:18.883Z","repository":{"id":57023345,"uuid":"146624457","full_name":"naifalshaye/nova-map-address","owner":"naifalshaye","description":"A Nova field to place a marker on map to get coordinates then it reverse geocoding the coordinates to get a street address","archived":false,"fork":false,"pushed_at":"2019-10-22T10:27:35.000Z","size":107,"stargazers_count":14,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T22:53:14.073Z","etag":null,"topics":["geocoding","laravel","laravenova","map","reverse-geocoding"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naifalshaye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-29T15:57:54.000Z","updated_at":"2020-02-14T08:18:11.000Z","dependencies_parsed_at":"2022-08-23T14:00:16.470Z","dependency_job_id":null,"html_url":"https://github.com/naifalshaye/nova-map-address","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naifalshaye%2Fnova-map-address","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naifalshaye%2Fnova-map-address/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naifalshaye%2Fnova-map-address/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naifalshaye%2Fnova-map-address/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naifalshaye","download_url":"https://codeload.github.com/naifalshaye/nova-map-address/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125634,"owners_count":21051766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geocoding","laravel","laravenova","map","reverse-geocoding"],"created_at":"2024-12-07T13:13:36.667Z","updated_at":"2025-04-09T22:53:18.862Z","avatar_url":"https://github.com/naifalshaye.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Nova Map Address Field\n\nA Nova field to place a marker on map to get coordinates then it reverse geocoding the coordinates to get a street address\n## Installation\n\nYou can install the package in to a Laravel app that uses Nova via composer:\n\n```bash\ncomposer require naif/map_address\n```\n\n## Configuration\nPublish the package config file:\n```bash\nphp artisan vendor:publish --provider=\"Naif\\MapAddress\\FieldServiceProvider\"\n```\n\nThis is the contents of the file which will be published at [config/map-address.php](config/map-address.php).\n\nAdd the following keys to your `.env` and `.env.example`:\n\n```\nMAP_ADDRESS_API_KEY=\n\nOptional: Set map and address language\nMAP_ADDRESS_LANGUAGE=ar\n```\n\n_If you need a Google Maps API key, you can create an app and enable Places API and create credentials to get your API key https://console.developers.google.com._\n\n## Usage:\nAdd the below to Nova/User.php resource:\n\n```php\n\nMapAddress::make('address'),\n\n//You can set the initial map location. By default (United States)\n MapAddress::make('address')\n    -\u003einitLocation(40.730610,-98.935242),\n\n//You can also set the map zoom level. By default (4)\n MapAddress::make('address')\n    -\u003einitLocation(40.730610,-98.935242)\n    -\u003ezoom(12),\n\n```\n\n![Package screenshot](https://pbs.twimg.com/media/DlyEKmaWsAIiUdZ.jpg)\n\n![Package screenshot](https://pbs.twimg.com/media/DlyEL0AW0AU0UQL.jpg)\n\n## Support:\nnaif@naif.io\n\nhttps://www.linkedin.com/in/naif\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaifalshaye%2Fnova-map-address","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaifalshaye%2Fnova-map-address","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaifalshaye%2Fnova-map-address/lists"}