If you are going to set the user region, it needs to be done in the script URL as this downloads different content. That said, you generally should not be setting this value, it is mainly there for testing purposes only. The map platform will automatically detect the correct value for the user based on where their request originates from. Note that there is risks in showing users maps that don't align with their user region which can impact your business.
how to set bingmap user region dynamically using api
Surya
6
Reputation points
We have a requirement to set the Bing Maps user region dynamically after loading without using url parameters. We can see in the below documentation link to customize the map option on load, but passing the setting the value of ur is not working.
Please suggest an alternative way to set the user region dynamically in a simple way.
TIA
1 answer
Sort by: Most helpful
-
rbrundritt 16,456 Reputation points Microsoft Employee
2023-10-10T15:50:04.35+00:00