https://github.com/geocoder-php/azure-maps-provider
[READ ONLY] Provider for Azure Maps
https://github.com/geocoder-php/azure-maps-provider
Last synced: 7 months ago
JSON representation
[READ ONLY] Provider for Azure Maps
- Host: GitHub
- URL: https://github.com/geocoder-php/azure-maps-provider
- Owner: geocoder-php
- License: mit
- Created: 2020-10-08T19:50:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-15T13:26:26.000Z (10 months ago)
- Last Synced: 2025-06-04T09:10:50.264Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Maps Geocoder provider
[](http://travis-ci.org/geocoder-php/azure-maps-provider)
[](https://packagist.org/packages/geocoder-php/azure-maps-provider)
[](https://packagist.org/packages/geocoder-php/azure-maps-provider)
[](https://packagist.org/packages/geocoder-php/azure-maps-provider)
[](https://scrutinizer-ci.com/g/geocoder-php/azure-maps-provider)
[](https://scrutinizer-ci.com/g/geocoder-php/azure-maps-provider)
[](LICENSE)
This is the Bing Maps provider from the PHP Geocoder. This is a **READ ONLY** repository. See the
[main repo](https://github.com/geocoder-php/Geocoder) for information and documentation.
## Install
```bash
composer require geocoder-php/azure-maps-provider
```
## Usage
```php
$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](https://github.com/geocoder-php/Geocoder) or
report any issues you find on the [issue tracker](https://github.com/geocoder-php/Geocoder/issues).