geocoder-php/azure-maps-provider

Geocoder AzureMaps Provider

1.0.0 2020-10-08 20:08 UTC

This package is auto-updated.

Last update: 2020-10-08 20:34:13 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\Adapter\Guzzle6\Client();

// 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.