Skip to content
Snippets Groups Projects
Commit ab8999c9 authored by Nitesh Pawar's avatar Nitesh Pawar Committed by Italo Mairo
Browse files

Issue #3401039 by Nitesh Pawar: Support for Azure Maps

parent fb9b9be3
Branches
Tags
No related merge requests found
......@@ -353,3 +353,12 @@ geocoder_provider.configuration.yandex:
nullable: true
label: 'Toponym'
description: 'Only for reverse geocoding (optional)'
geocoder_provider.configuration.azuremaps:
type: geocoder_provider_configuration
label: 'AzureMaps arguments'
mapping:
subscriptionKey:
type: string
label: 'Azure subscriptionKey'
description: '<a href="https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions" target="blank">Subscriptions in Azure API Management</a>'
\ No newline at end of file
<?php
namespace Drupal\geocoder\Plugin\Geocoder\Provider;
use Drupal\geocoder\ConfigurableProviderUsingHandlerWithAdapterBase;
/**
* Provides a AzureMaps geocoder provider plugin.
*
* @GeocoderProvider(
* id = "azuremaps",
* name = "AzureMaps",
* handler = "\Geocoder\Provider\AzureMaps\AzureMaps",
* arguments = {
* "subscriptionKey" = ""
* }
* )
*/
class AzureMaps extends ConfigurableProviderUsingHandlerWithAdapterBase {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment