Closed ghost closed 4 years ago
@sujayvsarma Thanks for the comment! Can you share the link/doc you're referring to?
@SadiqhAhmed-MSFT - I am asking a question. I did not find it in any doc!
The map defaults to natural ground truth (NGT) which shows localized names in areas as you zoom in and is pretty reversed when it comes to geopolitical sensitive areas on the map. You can change the map language using the language map option. You can find details on how to do this here: https://docs.microsoft.com/en-us/azure/azure-maps/how-to-use-map-control#localizing-the-map
All supported languages are listed here: https://docs.microsoft.com/en-us/azure/azure-maps/supported-languages
@rbrundritt There is a problem with the documentation. Initially, I assumed it was because of the language
property. But then, using trial and error, it is the View
property. The value set is case sensitive!!! If you set:
view: 'auto' // lower-case 'a'
Everything goes to shit. Apparently, it only accepts the value with an uppercase 'A':
view: 'Auto'
Could you have someone check and fix either the doc or the implementation?
Thanks.
And yes, the language
thing closes my question, you may close the bug.
Will double check with team. Thought we had made it case insensitive in the web SDK.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Sujay Sarma notifications@github.com Sent: Thursday, November 7, 2019 10:46:20 AM To: MicrosoftDocs/azure-docs azure-docs@noreply.github.com Cc: Ricky Brundritt ricky_brundritt@hotmail.com; Mention mention@noreply.github.com Subject: Re: [MicrosoftDocs/azure-docs] [Azure Maps] - Display map location names always in a single language (#42308)
And yes, the language thing closes my question, you may close the bug.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F42308%3Femail_source%3Dnotifications%26email_token%3DABRJCRCNTU5TY2LPUYJQO2LQSQZ4ZA5CNFSM4JKDHY3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDM23WQ%23issuecomment-551136730&data=02%7C01%7C%7C887d5ac603274cd2facb08d76399a31d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637087383823669457&sdata=FPywyVS4gk7mWymup%2BX%2BybDATXtB30F5sVYvXk6Qkog%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABRJCRACLWD7WU76FY6V5W3QSQZ4ZANCNFSM4JKDHY3A&data=02%7C01%7C%7C887d5ac603274cd2facb08d76399a31d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637087383823679462&sdata=GjunJAudDlU2tiLxZRHBB5UTPqIfT5IcJBGEWAw5woM%3D&reserved=0.
Hello again,
The default mode of Azure Maps displays names of places in the local language and script of the particular place (though in some places, this is always in English). For example, if you zoom out and look at the world map, I see places in Russia in Russian, places in the Middle East in Arabic and so on.
How do I force the map to always render the place names in a single language? I tried looking through the documentation but could not seem to find what I was looking for.
cc: @AshokPeddakotla-MSFT & @rbrundritt