Forum Widgets
Latest Discussions
Azure maps: Trying to draw direct line between two point at two corners of world
Am trying to plot direct line between "green arrow location" (right top corner) to "destination popup point". But it's moving all around world as shown in picture. Any suggestion? Please find image for reference. Other lines whose points are not on world edges are working fine.SolvedwelcomenxjAug 26, 2020Copper Contributor9.4KViews0likes7CommentsSpecific address search returns an address with two postal codes, one of which is wrong
This searched address returns two postal codes from Azure maps as part of the data, which is problematic for obvious reasons. The first postal code is correct. The other is not. 190 Pontiac Business Center Drive, Elgin, SC 29045, 29229 Please remove the secondary, incorrect postal code.Solvedarouse680Mar 05, 2024Copper Contributor730Views0likes5CommentsDepth layer in Azure Maps
Greetings! I have absolutely no idea if this is the right place to ask this question but here goes anyway... I'm looking for a layer that helps me visualize earthquakes not only by magnitude but also by depth. I created this sample some few years ago using Power BI - It's not in English but you'll probably get the drill. (see here: https://app.powerbi.com/view?r=eyJrIjoiNjliYjgxZDMtODc0ZC00MTEyLWE1NGUtZWRlNzcwODM2M2FjIiwidCI6IjQwMjY1ZWI5LTY3ZTQtNGYxYi1iMDMyLTEzNGM5NjY1MWYwNSIsImMiOjh9 ) I'm using MapBox here but I'd like to see what is possible for the ever growing Azure Map which is a visual within the visualization family of Power BI Now using only Azure Maps in Power BI the closest I've got to showing the depth is using bar charts instead of bubbles but the problem is obviously that that the bars go up when they really should go down. Adding negative values just stops at zero so no point changing the values. I'm now looking for some kind of a layer that I can use and map the depth values accordingly but I'm totally lost on how to do that and of course I'm also missing the magnitude measure so this really is a question of a 3D rendered visual that takes into account the magnitude of the earthquake and also depth by latitude and longitude. I've looked at Mapbox and Arcgis also but with no luck. Any help appreciated!SolvedYggdrasillMar 26, 2021Copper Contributor1.7KViews1like5CommentsBest way to store GPS tracking data?
We're looking in to adding GPS tracking data to our mobile app in order to track the location of independent contractor drivers. There may be as many as 500 drivers tracked in any given day, and the data may need to be retained for up to 5 years. The preview feature for azure maps data service looks promising, but it looks more geared towards map layers and geofence configurations due to it's volume limitations. Azure IoT also looks like a promising platform for storing the volume of data involved, but it seems that it will be difficult to register and deregister devices on a daily basis as the independent contractors come and go. Curious if anyone has used these services for a similar use case, or if there may be other storage options available.Woody0Jul 13, 2021Copper Contributor3.4KViews0likes4CommentsMaps updates and accuracy
I know Azure Maps would be kept quite up-to-date and should be very reliable. Just wondering if anyone knows of metrics? E.g. If I'm doing a reverse geocode, are there metrics around the accuracy of the data I get back? What about for new neighborhoods, how often is the maps data updated?ericfeunekesSep 17, 2020Copper Contributor6.5KViews0likes4CommentsCreate tilelayer using a GDAL Tiler tilematrix set
I'm porting an application from Bing maps which used many tilesets generated using the GDAL tiler. In the Bing Maps API these layers needed a custom url which modified the y component. So where Azure Maps uses the the option tileUrl:url I need something like ... This works in Bing ..... uriConstructor:function(coord){ // coord is a PyramidTileId with : z,y,zoom,pixwidth,pixheight. var ymax=1<<coord.zoom; var y=ymax-coord.y-1; return url.replace('{x}',coord.x).replace('{y}',y).replace('{z}',coord.zoom); } I do so hope there is someone out there with some cool code to get me out of a very tight spot. Thanks Stevesteve-smithAug 04, 2025Copper Contributor58Views0likes3CommentsAzure Maps does not zoom out completely
I'm working on a WordPress plugin and I needed to migrate from Bing Maps API to Azure Maps. I noticed that it is not possible to zoom out to the maximum on a map created with the Azure maps API when it is restricted to a smaller portion of a screen. The more noticeable it is, the smaller the map gets. Example: Comparion with the Bing Maps similar size: Of course, I tested this with minZoom options like: map = new atlas.Map( "new_map", { center: [0, 0], maxZoom: 24, minZoom: 1 // with 0 map disappears }); As you can see the maximum zoom out is drastically reduced. This WordPress plugin allows you to show albums with photos from all over the world and smaller maps may not show all of them. Internet search showed me only one other post about this issue http://Power%20Bi%20community%20forum and similar but probably not correctly described in here: https://learn.microsoft.com/en-us/answers/questions/1463153/the-new-azure-maps-seems-to-zoom-in-too-far Is there a solution to this problem or I missed something?PawelBDec 29, 2024Copper Contributor147Views0likes2CommentsMigrating from “Bing Maps” to “Azure Maps”.
Hello, I have just received your email announcing the end of support for “Bing Maps” on June 30, 2025. This service is being replaced by “Azure Maps”. Currently I use the C# object: Windows.UI.Xaml.Controls.Maps.MapControl , with the associated Xaml: xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" and <Maps:MapControl MapServiceToken="{StaticResource MapCredentials}" />. I saw that there is an Azure.ResourceManager.Maps package but this package does not have a native component for Xaml. It looks like I need to use the WebView component ( <WebView x:Name="mapWebView" /> ) instead. This WebView displays an HTML page with JavaScript code that calls the https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.js code to perform authentication via a YOUR_AZURE_MAPS_KEY and displays a map to the screen. Can anyone confirm this method of using "Azure Maps" with a Xaml project? Thanks in advance, Best regards C-ACOM-ADDMay 23, 2024Copper Contributor861Views0likes2CommentsIn React (CRA) project, cannot load azure-maps-geolocation-control.js external Azure Map script
I am working with a CRA React project. In a React component, I have tried to import and load an external Azure Map standalone script like https://github.com/Azure-Samples/azure-maps-geolocation-controlwhich adds on to the Azure Map namespace (atlas). In this React component I have imported Azure Map SDK like azure-maps-control which works fine to render the map and supplies the namespace. Under map ready event, I have tried to instantiate GeolocationControl object but seems like the script cannot read the atlas namespace. This external script is placed in public folder and dynamically placed in <head> of index.html . How to make the script link to Azure Map SDK namespace, in a React component? Thank youJoanne520May 16, 2024Copper Contributor361Views0likes2CommentsHow to get the Azure Maps (Try it) samples to work?
Hi, I am trying to do some testing with the Azure maps. For all the samples I try using the "try it". I keep getting the error below. This is inspite of putting my Client ID in the web form: x-ms-client-id Example URL: https://docs.microsoft.com/en-us/rest/api/maps/search/get-search-address#code-try-0 See error below: { "error": { "code": "Unauthorized", "message": "Bearer realm=\"https://atlas.microsoft.com/\", SharedKey realm=\"https://atlas.microsoft.com/\"", "target": "WWW-Authenticate", "details": [] } } . Request Preview: GET https://atlas.microsoft.com/search/address/json?api-version=1.0&query=15127%20NE%2024th%20Street%2C%20Redmond%2C%20WA%2098052 X-ms-client-id: ........................ Headers: access-control-allow-origin: * access-control-expose-headers: * content-type: application/json date: Mon, 13 Dec 2021 12:52:24 GMT strict-transport-security: max-age=31536000; includeSubDomains www-authenticate: Bearer realm="https://atlas.microsoft.com/", SharedKey realm="https://atlas.microsoft.com/" x-cache: CONFIG_NOCACHE x-content-type-options: nosniff x-ms-azuremaps-region: West US 2 x-msedge-ref: Ref A: 8A022D472CD04B709A28E6CAAA9C01F2 Ref B: MEL01EDGE1119 Ref C: 2021-12-13T12:52:24Z Body: { "error": { "code": "Unauthorized", "message": "Bearer realm=\"https://atlas.microsoft.com/\", SharedKey realm=\"https://atlas.microsoft.com/\"", "target": "WWW-Authenticate", "details": [] } } Any suggestions on how to make this work? Thanks, wardWard HorsfallDec 13, 2021Copper Contributor2.6KViews0likes2Comments
Resources
Tags
- azure maps8 Topics
- iot1 Topic
- PowerPlatform1 Topic
- PowerApps1 Topic
- ssis1 Topic
- geocoding1 Topic
- Azure Pricing1 Topic
- geolocation1 Topic
- Address Search API1 Topic
- Formatted Address1 Topic