403 questions
0
votes
0
answers
82
views
Azure Maps no longer accepts requests from some apps; returns 401
Starting a few hours ago, Azure Maps no longer accepts requests from my Azure DevOps pipeline and my production Azure App Service, but still accepts requests from the dev/test app service. Example log ...
0
votes
0
answers
21
views
PowerApps ShapeGeoJSONObjects doesnt allow any input
I am trying to build a PowerApp. I have an AzureMap. I have already been able to draw points there. However, ShapeGeoJSONObjects does not allow a single input. No matter if I reference a table or try ...
0
votes
1
answer
203
views
Error at accessing Azure Maps Geographic API Endpoints from Web query in PowerBI
I try to use the azure maps endpoint, but i am unable to access any of the endpoints from PowerBI with the Azure Maps "primary key" from my Azure Maps account instance.
https://eu.atlas....
-1
votes
1
answer
110
views
Azure maps not showing on IOS app created with capacitor
I'm using Angular with Capacitor to build a hybrid mobile app for iOS and Android. I use the azure-maps-control SDK to render a map inside a component. It works perfectly in:
Chrome / desktop browsers ...
0
votes
1
answer
2k
views
Azure Maps in Power BI - how to show lines
I got data related to streets in my city. Each street has at least 2 sets of coordinates.
My coworkers go through the city and grade the cleanliness.
I would like to show lines on the map with the ...
0
votes
1
answer
309
views
Can I use azure AD Authentication ( Microsoft Entra ID) for Azure maps in a public application?
I have a react based web application which will use azure maps for store locations. Now anybody can access this anonymously. users need not be signed in. I know subscription key is the best way for ...
0
votes
1
answer
90
views
Azure Maps API - "404 Not Found" when uploading ZIP with mapData/upload
I'm using the Azure Maps API to upload a ZIP file containing a DWG drawing and a manifest.json using the following POST request:
https://eu.atlas.microsoft.com/mapData/upload?api-version=1.0&...
0
votes
1
answer
636
views
Power BI Geo mapping; Bing maps and Azure maps
I have Power BI Pro. The sole reason is that I must publicly post Geomaps on the web.
By this, I want to share Geopmaps with a public link from Power BI services.
After being told by Powor BI that I ...
0
votes
1
answer
88
views
Black flash issue when toggle the visibility of symbol pin on azure map
So, I created a Vue project and added the azure-maps-control
npm install azure-maps-control
added the css in main.ts
import "azure-maps-control/dist/atlas.min.css";
Now, this is how I load ...
-1
votes
1
answer
123
views
Azure Maps rejecting Route Request with ZipCode
When i submit a Zip code as a location to AzureMaps, it returns bad request.
My theory is that the centralized point on the Zipcode is not a navigable point by road.
I've tried a few things:
-...
0
votes
1
answer
108
views
Angular Leaflet azure maps
With the deprecation of Bing Maps, I'm wanting to replace my Bing map layers in my angular app with a leaflet map in it with the Azure Maps. I have installed the azure-maps-leaflet library which is a ...
0
votes
1
answer
87
views
Azure maps - Not able to get route between two positions using sas token, fine by subscription key though
I'm able to get route between two positions using azure primary subscription key just fine. However our preference is to use sas tokens which works fine for loading maps, displaying markers etc. but ...
1
vote
1
answer
147
views
Azure Maps Control package @types/geojson support
Am I right to assume that the Azure Maps Control package uses its own type definitions for FeatureCollection, Feature etc. instead of the @types/geojson ones (by looking at the type definitions of the ...
0
votes
1
answer
40
views
Azure Maps Control disable back face culling for transparent polygon extrusion layers
I currently have a polygon extrusion layer in my Azure Maps Control project containing multiple shapes that are partially transparent and others that have a solid color. Due to the back-face culling ...
0
votes
1
answer
281
views
Azure Maps hybrid tileset needs to be combined with another layer?
Straight to the point - how are you supposed to do a "hybrid" satellite/road map using Azure Maps tiles?
I am using Azure Maps tiles (https://learn.microsoft.com/en-us/rest/api/maps/render/...
0
votes
1
answer
196
views
Problem with Azure Maps on Mobile Devices
I am new to Azure maps, switching from Bing Maps in advance of its demise. My simple trial application works correctly on Windows, but map events (I have tried click and contextmenu=right click) do ...
0
votes
2
answers
133
views
Why am I getting this Content Policy error?
I have added the following to my Blazor Interactive Server app using NWebSec:
app.UseHsts(options => options.MaxAge(days: 30));
app.UseXContentTypeOptions();
app.UseXXssProtection(options => ...
-1
votes
1
answer
125
views
Is there a way to get the latitude & longitude for a county in the U.S. using Azure Maps?
A fair number of the users of my app do not want to provide their address. But they are ok with providing their county & state (no zip code). I use their location to provide them with events near ...
0
votes
1
answer
104
views
azure-maps-animations wont animate marker in Angular 17
I'm trying to replicate this Azure Maps example, and I have everything working except the marker arrow, which isn't moving. When I provide a map, the camera animates correctly, but the arrow icon ...
0
votes
1
answer
71
views
Power BI Slicer Issue
I'm working on an Azure Map to visualize client data. Here’s the scenario: I want to display two types of data on the map — the locations of our clients and the locations of our babysitters. These ...
0
votes
1
answer
360
views
TypeError: Failed to resolve module specifier "azure-maps-control"
In a previous question, I was trying to implement this Azure Maps Animations sample with TypeScript: https://samples.azuremaps.com/animations/animate-marker-along-path
Trying to merge 'azure-maps-...
0
votes
1
answer
819
views
TypeError: Cannot read properties of undefined (reading 'EventEmitter' AND 'play')
I am having errors when trying to use Azure maps control and animations in a TypeScript project.
I have this errror in browser's console when upon starting: Cannot read properties of undefined (...
0
votes
1
answer
169
views
Cannot read properties of undefined in azure-maps-animations
I tried to redo this Azure Maps Animations sample with TypeScript: https://samples.azuremaps.com/animations/animate-marker-along-path
I have several issues and would need some help.
I'll explain and ...
0
votes
1
answer
331
views
Azure Maps Layers
I am trying to plot multiple circles on a map and have added an event to each polygon layer. However, the issue is that when I click on an inner circle, it triggers all the alerts, meaning it invokes ...
1
vote
1
answer
73
views
map.js:81 Error during search: TypeError: Cannot read properties of undefined (reading 'initialize')
I dont know why Im getting this error. Here is my function that is throwing it:
const handleSearch = async () => {
if (!searchInput) return;
setSearching(true);
const credential = ...
0
votes
1
answer
75
views
Why does the callback function for the 'drawingstarted' event in Azure Map not return any parameters?
add(eventType: "drawingchanged" | "drawingchanging" | "drawingcomplete" | "drawingstarted" | "drawingerased", target: atlas.drawing.DrawingManager, ...
0
votes
1
answer
180
views
Scrolling in map, get: Could not load image because of The source image could not be decoded
I am using the AzureMapsControl component which wraps Azure Maps. What I do is pretty simple just putting pins up. At times, when scrolling, I get a ton of the following error messages in the browser (...
1
vote
1
answer
154
views
The 'autoResize' set to 'true' in AzureMap does not take effect when the parent size is changed
In Azure Maps, when autoResize is set to true, it seems that the map only resizes based on changes in the browser window size. It does not trigger a resize event when the dimensions of the parent ...
0
votes
1
answer
175
views
How to implement the Azure Map getToken API in nodejs and java?
let Options = {
authOptions: {
authType: AuthenticationType.anonymous,
clientId: ClientId,
getToken: async (resolve: any, reject: any) => {
// How to implement the Azure ...
0
votes
1
answer
269
views
Azure Maps SAS creation fails
I have to use the weather API from Azure MAPS with Shared access signature token authentication
I have followed the instructions from here:
https://github.com/MicrosoftDocs/azure-docs/blob/main/...
1
vote
1
answer
324
views
Azure Maps not rendering vector tiles correctly
I'm having an issue with rendering a polygon from a vector tile source at high zoom levels. I'm using https://github.com/NetTopologySuite/NetTopologySuite.IO.VectorTiles to generate the tiles and ...
0
votes
1
answer
168
views
How to draw a pin in Azure Maps using azure WebSDK?
I was going through the documentation of azure maps to integrate in iOS app, Requirement is simple or put a pin in azure and on click of pin should display some info.
Created the credential and could ...
-2
votes
1
answer
433
views
Implement Autocomplete Input with Azure Maps
I am currently working on implementing an autocomplete input field using Azure Maps. I have previously implemented similar functionality with Google Maps and Bing Maps, following this migration ...
0
votes
1
answer
90
views
Weather overlays on microsoft atlas maps
I can't seem to get atlas maps weather overlays to work on my map.
I have tried api versions 2.0, 2.1, and 2022-08-01 and I keep getting the same error:
enter image description here
My code (from the ...
0
votes
1
answer
70
views
AzureMaps - Spatial - Post Closest Point C# SDK
Is there any a method that can get the closest point between a base point and a given set of target points. I can only found a restful-api but no documentation about using the c# sdk.
Here's the link ...
1
vote
1
answer
807
views
Adding a marker to azure maps
I starting with Azure Maps, I'm trying to add one of my PNG file as a marker using this method:
private addBoatMarker(position: [number, number]): void {
const boatMarker = new atlas.HtmlMarker({
...
0
votes
1
answer
151
views
How to specify a bearer token authorization header to a VectorTileSource url request?
I was looking to use an Azure Maps VectorTileSource to render some custom vector tiles hosted on my server. The server API expects an authorization header but the VectorTileSourceOptions only support ...
1
vote
1
answer
3k
views
Migrating from "Bing Maps" to "Azure Maps"
Microsoft announces 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 ...
0
votes
0
answers
73
views
How to configure Azure Maps Creator manifest.json 2.0 to support wayfinding?
I'm attempting to get wayfinding working using the latest Azure Maps Creator 2023-03-01-preview APIs and lacking some know-how for how to supply the correct data for the package to support it.
The ...
0
votes
1
answer
59
views
Return county from a given address
I am using azure maps to return an address when a user clicks on a map. Currently I am getting the full address of where the user is clicking but instead I want to only provide the county.
Here is the ...
0
votes
1
answer
200
views
In React CRA, Azure Map external standalone scripts (azure-maps-geolocation-control.js) cannot read namespace of Azure Map SDK
RI 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 azure-maps-geolocation-control.js which adds on to the Azure ...
0
votes
1
answer
260
views
Trying to Add Label And Text to Markers inside Cluster Layer
I've performed clustering using the sample code provided by Azure Maps. However, I've utilized my own collection of latitude and longitude coordinates.
My issue arises when attempting to add labels ...
-1
votes
1
answer
286
views
Implementing Location-Based Marker Filtering in Microsoft Atlas Rest API
We are working on a project related to field clinicians and patients. We need to display a map (using Microsoft Atlas) on a page with multiple patient markers. However, we have a requirement that a ...
0
votes
1
answer
150
views
Zooming in on a cluster eventually resolves to a single pin
I have a case with 3 pins at the same location. Zoomed out it renders as a cluster. But when I zoom in, generally somewhere between 16 & 18, it changes to a single pin.
What's going on here? ...
0
votes
1
answer
83
views
SpiderClusterManager exists in React-Azure-Maps?
I need to show clustered items the same way they are showed on the vanilla js sample https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Symbol%20Layer/Expanding%20Spider%...
1
vote
1
answer
376
views
How do I create a NetTopologySuite.Polygon from a Atlas.BoundingBox?
I need to create a Polygon so that in my Entity Framework query I can do:
point.Intersects(polygon)
The code to create the point is:
var center = new TopologyPoint(longitude, latitude)
{
SRID = ...
0
votes
0
answers
197
views
How can I close a popup in Azure Maps
I am using AzureMapsControl.Components but I'm 99% certain this is an Azure Maps issue.
I am displaying a popup with the close button. However, clicking on the close button does not close it. Is there ...
0
votes
1
answer
42
views
click has 0 eventArgs.shapes for a clustered SymbolLayer
I am using AzureMapsControl.Components but I'm 99% certain this is an Azure Maps issue because AzureMapsControl just passes on the eventArgs it receives.
I have tested this with both AzureMap.OnClick ...
0
votes
1
answer
226
views
Adding more pins to a SymbolLayer
When I have the map up with a bunch of pins (SymbolLayer) and the user scrolls sideways, I now have some more pins to display. My select from the scroll is to get all pins in the new bounding box ...
0
votes
1
answer
386
views
How do I create a spatial index in Entity Framework?
I have the class:
public class Address
{
// street, city, etc.
/// <summary>
/// use X for longitude and Y for latitude.
/// </summary>
public NetTopologySuite....