Questions tagged [azure-maps]

Azure Maps is a collection of geospatial services, fresh mapping data and developer tools natively available in Microsoft Azure.

Azure Maps is a collection of geospatial services, fresh mapping data and developer tools natively available in Microsoft Azure. Access REST APIs for Maps, Search, Routing, Geofencing, Traffic, and Time Zones or use the accompanied web or mobile map controls to make development easy, flexible, and portable across multiple platforms.

For technical support queries:

317 questions
13
votes
4 answers

supporting TLS 1.2 in HttpClient C#

Good afternoon! I use Azure Maps API using HttpClient. How can I enable support of TLS 1.2? As I know in Framework 4.6+ it is supported. And I should not do anything for this to work?
Dmytro
  • 159
  • 1
  • 1
  • 7
6
votes
6 answers

How to use Azure Maps in Angular

I cannot find any support, module or documentation for using Azure Maps in Angular. Is Azure Maps still too new and have no support for Angular yet? I have tried the following module without success:…
Danie
  • 429
  • 6
  • 16
4
votes
1 answer

Azure Maps Control causes Angular Universal SSR error

I am using the Azure Maps Web Control with Angular 11+. I can create an instance of the map without any problems on the browser side: html
code export class MapComponent implements AfterViewInit { …
JayChase
  • 11,174
  • 2
  • 43
  • 52
3
votes
1 answer

Changing style in Azure Maps slow

I got an Azure Map and I have implemented a custom "change style" button that when pressed calls map.setStyle(). When I call this function using 'satellite' the switch is very quick. Like this: map.setStyle({ 'style': 'satellite' }); But when I…
Gustav Dahl
  • 1,269
  • 3
  • 13
  • 22
3
votes
2 answers

How could I call Azure Maps API in C# with authorisation and client id?

I am trying to use Azure Maps API to search POIs around a point using its coordinates, and I do not know how to call the API by adding the Authorization and client-id. This is the request preview I get when I try the API on the Microsoft…
Farjad
  • 67
  • 1
  • 7
3
votes
1 answer

Invalid latitude value: must be between -90 and 90

I'm trying to create a map by javascript Azure Map in my phonegap app, but it gives the following error: atlas.min.js?api-version=1.0:362 Uncaught (in promise) Error: Invalid LngLat latitude value: must be between -90 and 90 And my code: var…
hnakao11
  • 785
  • 2
  • 9
  • 30
2
votes
1 answer

"Export not found" error message when trying to use the "azure-maps-animations" NPM package in a React app

We are trying to use the Azure Maps Animations NPM package in a React app but are unable to import it. We tried the following code: import {animations} from "azure-maps-animations"; // layerLine previously defined and works fine var animation =…
2
votes
2 answers

Azure CLI authentication ERROR: AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed

When trying to obtain a token from Azure Maps through a App Service, it return the following error. "Azure CLI authentication failed due to an unknown error. See the troubleshooting guide for more information.…
harinsamaranayake
  • 751
  • 2
  • 12
  • 32
2
votes
0 answers

Jest not able to find module react-azure-maps in unit test cases

I am using azure map in my react application and found this library which is build on the top of azure maps but when I am writing the unit test cases for the component made using this library using jest, the jest is not able to find the module -…
2
votes
1 answer

Azure Maps Libraries are not Importing (Services and Animation APIs)

I am trying to make an Angular app which will show the optimised route along with direction of a set of destinations. I installed Azure Maps SDK in my app and started using the APIs. All things are working fine but not the animation API. I am…
2
votes
1 answer

Azure maps indoor module: How to access to Indoor Map GeoJSON from Azure Maps Web SDK

I have been working on a project using Azure Indoor Maps. I started to use the Azure Maps Web SDK. I have looked for a way to loop to all features that are loaded automatically by the SDK, without making a request to WFS API…
franpb90
  • 48
  • 5
2
votes
1 answer

How to invoke a javascript constructor in Blazor?

I would like to develop a Blazor component to wrap Azure Maps javascript. The first step is to display the map on the page. Usually, with javascript, it is done this way : let map = new atlas.Map('mapContainer', { view: 'Auto', maxZoom:22, …
Seb
  • 23
  • 2
2
votes
1 answer

Azure Maps - Map is not opening at the correct size

I have a page with azure maps, and most of the time it loads normally and the map covers the entire screen. But at some points when refreshing the page, the map is limited to a small size, and if I just refresh the screen or even open the browser…
2
votes
1 answer

Is there a typescript or javascript api for Geolocation - Get IP to Location Preview capability in the Azure Maps npm module azure-maps-rest

There are a lot of options to this api and I am not finding this capability in the module? If it is not in there can it be added in the future? The preview is here The typescript API is here
Christian Matthew
  • 4,014
  • 4
  • 33
  • 43
2
votes
1 answer

Zoom and center map to fit all features on (bubble) layer

I have a website that's getting a set of points from the server side, and then rendering a map using the azure-maps-control npm package. I want the map to be centered and zoomed in such a way that would fit all the points on the screen. What's the…
rony l
  • 5,798
  • 5
  • 35
  • 56
1
2 3
21 22