Questions tagged [azure-maps]

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

Filter by
Sorted by
Tagged with
13 votes
4 answers
50k views

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's user avatar
  • 159
6 votes
6 answers
7k views

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's user avatar
  • 429
4 votes
1 answer
227 views

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 <div class="map-target" #mapTarget></div&...
JayChase's user avatar
  • 11.2k
3 votes
1 answer
5k views

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 ...
hnakao11's user avatar
  • 785
3 votes
2 answers
3k views

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 ...
Farjad's user avatar
  • 67
3 votes
1 answer
183 views

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....
Gustav Dahl's user avatar
  • 1,269
2 votes
1 answer
1k views

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 ...
rony l's user avatar
  • 5,810
2 votes
1 answer
480 views

Azure Maps - pins disappear

I have an application that leverages Azure Maps to show pins of various locations on a map. All works great, but when I zoom out, some of the pins will disappear. When I zoom back in they reappear. ...
John Livermore's user avatar
2 votes
2 answers
687 views

Azure maps - point vs feature vs shape

I am new to Azure maps and reading through the documentation. This blurb describes Points, Features and Shapes. But it doesn't really help me understand why I would use one over the other. Can ...
John Livermore's user avatar
2 votes
2 answers
2k views

Bing maps API: Is there a way to use truck routing for distance matrix?

I want to get a set of distances between truck and pickup points. I saw that there is REST API for truck routing and that there is also API for distance matrix. Url for requests to both APIs is ...
kkamil4sz's user avatar
  • 431
2 votes
3 answers
495 views

How can I deserialise a complex and nested JSON?

In my c# project, I would like to access specific information (POI name and distance) inside a complex and nested JSON. This JSON is the result of an Azure Maps API call. I have tried to deserialise ...
Farjad's user avatar
  • 67
2 votes
2 answers
4k views

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 ...
harinsamaranayake's user avatar
2 votes
2 answers
797 views

Azure Maps 403 "Permission, capacity, or authentication issues."

I am trying to call Azure Maps with OAuth access tokens but it is throwing me 403 Forbidden with the message "Permission, capacity, or authentication issues.". I have followed procedure mentioned here:...
Sadiq Khoja's user avatar
2 votes
1 answer
879 views

Azure Maps Route/Directions REST API Response

I am using a WebClient to access the Azure Direction/Route REST API. The request is completing but I do not know how to handle the response.The code: string routeDetails = sb.ToString(); string url = ...
Paul Stanley's user avatar
  • 2,021
2 votes
1 answer
4k views

How to get raw traffic flow data

Creating application to use car count data from traffic. How do I access the live google maps, waze or bing maps data?
Jeff Gribbon's user avatar
2 votes
1 answer
847 views

Azure maps - change the color of a pin based on data driven styling

I am trying to create a data driven layer style that uses a boolean expression, but I am not sure how to make it work. I have a Feature shape defined. Notice the property bag has an assigned ...
John Livermore's user avatar
2 votes
1 answer
42 views

"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"; // ...
EJoshuaS - Stand with Ukraine's user avatar
2 votes
1 answer
207 views

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 ...
franpb90's user avatar
2 votes
1 answer
477 views

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's user avatar
2 votes
1 answer
2k views

is there a way to know how many lanes in a road?

Currently, I'm working on a Mapping Project , and I'd like to know if there's a way to know how many lanes in a single road (same direction), using one of Maps API, like google map. Because at the end ...
Khalid Harkati's user avatar
2 votes
1 answer
305 views

Does Azure Maps support Angular 2+?

We are doing a R&D to select the best possible maps framework which can be used with Angular 2+ (Currently we're using Angular 6). We mainly looked into 2 options which are, Google Maps Azure ...
Rushan De Silva's user avatar
2 votes
1 answer
9k views

Get traffic data

Are there any public APIs or reference documentation which provide real-time traffic data (number of vehicles, road congestion's/blocks etc...) between 2 points? I have researched in Google Maps API ...
Shriyak Shah's user avatar
2 votes
0 answers
330 views

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 ...
Sarthak Vashisht's user avatar
2 votes
1 answer
355 views

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 ...
ANMOL SHARMA's user avatar
2 votes
1 answer
609 views

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('...
Seb's user avatar
  • 23
2 votes
1 answer
845 views

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 ...
Leonardo Gomes's user avatar
2 votes
0 answers
234 views

Azure maps, show all search results as clusters

I noticed that when I show the results on the map, and if you have clustering enabled, you receive two types of shapes. Clusters Features ( On my case Persons ) I want to show all results as a list ...
Miguelillo's user avatar
1 vote
2 answers
809 views

Azure maps REST API link not working

https://atlas.microsoft.com/search/address/json?subscription-key=[subscription-key]&api-version=1.0&query=15127 NE 24th Street, Redmond, WA 98052 This link is not working. I added the ...
Saad Mahmood's user avatar
1 vote
1 answer
828 views

Azure Maps - Can I get the speed limit of the roads?

I'm trying to get the speed limit of a specific point on the map (lat, lng) using an API, but I can't find it in the Azure Maps documentation. I found it on Bing Maps, but I wanted to use Azure Maps ...
Rafael Grilli's user avatar
1 vote
2 answers
3k views

How to display image from API response in Jupyter Notebook?

I have an Azure Maps API call in a Jupyter Notebook that returns a map tile in .png format. The call works great, but I can't figure out how to display it as an image rather than as binary text. - ...
SeaDude's user avatar
  • 3,764
1 vote
1 answer
1k views

html marker add additional properties in azure maps

I am loading all sites of companies as a html markers in azure maps and on click of it, launch a popup that displays site specific information. The Html marker does not have any property bag, through ...
subhasis nayak's user avatar
1 vote
1 answer
530 views

How to update Azure Maps layers dynamically on Android?

I am developing an Android application whereby a map is shown and the location of the device is tracked on a point on the map. I am using the Azure Maps SDK for the map itself and ...
Jad Issa's user avatar
1 vote
1 answer
197 views

What is the proper url format to bring in the new (preview) Weather tile layer in Azure Maps?

Microsoft recently announced the preview of Azure Maps Weather Service (https://azure.microsoft.com/en-ca/blog/rain-or-shine-azure-maps-weather-services-will-bring-insights-to-your-enterprise/). I'm ...
Joe L.'s user avatar
  • 1,888
1 vote
1 answer
344 views

How to get the Primary Key of Azure Maps Accounts with Azure Resource Manager Template

For my deployment I need to provide the primary key of the Azure Maps Account to my Frontend. The deployment is done with an azure resource manager template. The key should be written in the output ...
Johannes Schweer's user avatar
1 vote
1 answer
682 views

Azure maps clustering

I noticed in a recent iteration of Azure maps, pins can be added to a datasource which can be applied to a map's source - var dataSource = new atlas.source.DataSource(); map.sources.add(dataSource); ...
duckmike's user avatar
  • 1,016
1 vote
1 answer
2k views

How can I zoom the Azure Maps bounding box on cluster click event?

A data source in Azure Maps can cluster point features (pins) within a certain radius. When a click event on such a cluster occurs I would like to reset my bounding box to the area represented by the ...
Mark's user avatar
  • 21.1k
1 vote
1 answer
47 views

Why doesn't my mouseover event on a react-azure-maps SymbolLayer ever get fired?

I am using the react-azure-maps library to use Azure Maps from a React app. I am trying to add a mouseover event on my markers. However, the event handler is never even called. I tried the following ...
EJoshuaS - Stand with Ukraine's user avatar
1 vote
1 answer
164 views

Blinking of Pin upon Updating Position in Azure Map on Xamarin [Android]

Blinking of Pin while running on android device. Take a look at the gif attached. I followed this sample & used Xamarin Forms WebView for displaying map. It works fine while running on browser.
The Backer's user avatar
1 vote
3 answers
751 views

azure map will not render markers in correct position

I am trying to render a simple Azure Map in a vue.js single-file component. I can get the map to draw at a specified center and zoom. And draw a line segment exactly where I want it. But I cannot ...
pathrider's user avatar
  • 854
1 vote
1 answer
582 views

Azure Maps Route Directions Error Returns Bad Request

Can anyone possible tell me what is wrong with this lat,lng: 54.575972,-1.235028 google maps says it's ok! ref: https://www.google.com/maps/place/54%C2%B034'33.5%22N+1%C2%B014'06.1%22W/@54.5759722,-1....
Juliano Vargas's user avatar
1 vote
1 answer
651 views

How do I properly import azure-maps-control into a Vue.js app?

I'm trying to import and use the node module "azure-maps-control" in a Vue.js application but am getting an undefined error when trying to instantiate the map. After installing azure-maps-control ...
jrend's user avatar
  • 794
1 vote
1 answer
70 views

Is there any drawing functionality on Azure Maps?

I'm working with Azure Maps and have a very basic idea of it's WEB sdk. What I want to know is- is there a drawing feature in The Azure Maps SDK that a user may use to draw on the map and return a ...
Mayank Saggar's user avatar
1 vote
1 answer
573 views

Bing Maps API - mapArea: this parameter value is out of range

I'm using the Bing Maps API to generate images from certain locations using the BotFramework-Location NuGet package. (Which code can be found here) Sometimes it works, but sometimes the images are ...
Titulum's user avatar
  • 9,998
1 vote
1 answer
76 views

How to allow text selection on azure maps popup?

It seems like user text selection on azure maps popup is disabled by default but I couldn't find any references to the ability to select text on azure maps documentation. Can anyone provide me any ...
Bibek Bastola's user avatar
1 vote
1 answer
391 views

how to implementing the Azure Maps API on flutter

how to use the Azure Maps API with flutter. I read the Android SDK document, but I have no idea to use on flutter.
Nabaraj Bhandari's user avatar
1 vote
1 answer
326 views

Can't get custom images to display in Azure Maps as Symbols

I really can't find any good documentation or any good samples on how to do this. Here is my code. This is running in an Asp.net Core View. var imageMarker = "https://unpkg.com/[email protected]/dist/...
Dumber_Texan2's user avatar
1 vote
1 answer
591 views

Microsoft Azure Maps / Postman upload error

I'm trying to upload my zip file for conversion for Azure maps using Postman and I have followed all the steps but I'm getting a WWW-Authenticate error in postman. 401 Unauthorized. SharedKey realm=&...
Crawford1992's user avatar
1 vote
1 answer
36 views

GA timeline of weather of Azure Maps

we are using Azure Maps Weather feature in a global website. Asking if any expected timeline from preview to GA of weather service, as SLA is also important to us.
Philip Chen's user avatar
1 vote
1 answer
276 views

How to show points as per unique category in a symbol layer without creating multiple layers?

I have a clustering enabled bubble layer.However upon zooming in, I want to show the points in unique colors as per the company property in the data. I'm achieving it via creating individual Symbol ...
Prem Kumar's user avatar
1 vote
2 answers
1k views

Using Azure Maps with React Native

I have to build a mobile application that would work with both Android and iOS, so that's why I'm not using the Azure Maps Android SDK. So I just wanna know if it is possible to use the Azure maps in ...
Flavius Biras's user avatar

1
2 3 4 5
7