geocoder-php/azure-maps-provider

Geocoder AzureMaps Provider

1.2.0 2022-07-30 12:09 UTC

This package is auto-updated.

Last update: 2024-11-14 14:42:25 UTC


README

Build Status Latest Stable Version Total Downloads Monthly Downloads Code Coverage Quality Score Software License

This is the Bing Maps provider from the PHP Geocoder. This is a READ ONLY repository. See the main repo for information and documentation.

Install

composer require geocoder-php/azure-maps-provider

Usage

$httpClient = new \Http\Discovery\Psr18Client();

// You must provide a subscription key
$provider = new \Geocoder\Provider\AzureMaps\AzureMaps($httpClient, 'your-subscription-key');

$result = $geocoder->geocodeQuery(GeocodeQuery::create('Yehuda Hamaccabi 15, Tel aviv'));

Contribute

Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.