geocoder-php / azure-maps-provider
Geocoder AzureMaps Provider
1.2.0
2022-07-30 12:09 UTC
Requires
- php: ^7.4 || ^8.0
- geocoder-php/common-http: ^4.0
- willdurand/geocoder: ^4.0
Requires (Dev)
- geocoder-php/provider-integration-tests: ^1.0
- php-http/curl-client: ^2.2
- php-http/message: ^1.0
- phpunit/phpunit: ^9.5
Provides
This package is auto-updated.
Last update: 2024-12-14 14:50:18 UTC
README
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.