Questions tagged [azure-maps]
Azure Maps is a collection of geospatial services, fresh mapping data and developer tools natively available in Microsoft Azure.
332
questions
0
votes
0
answers
16
views
Microsoft Azure Maps in a Flutter "web" app
I am test porting a true .Net Web application across to Flutter, to learn and see how well it works.
So far, I have managed to get Azure maps running on Flutter mobile (Android) inside a WebViewWidget....
0
votes
1
answer
23
views
Azure Maps label text that scales with the zoom level
Is it possible to create a text label that stays the same relative size compared to the map when zooming in or out? Reading the docs and looking at the symbol layer sample, it seems that this is not ...
0
votes
1
answer
14
views
How can I use the Azure Map service to get a thumbnail?
How can I use the Azure Map service to return to me a bitmap that is:
A specified size (256 x 256 pixels for my use case)
A specified extent, for example 100 miles x 100 miles
Centered on a specified ...
0
votes
1
answer
25
views
how can i force a rerender of the map in azuremaps?
I'm trying to make a search function for my indoor azuremaps project, I can search throught the loaded geojson shapes based on name. Now when I highlight, or click on a search result I want it to show ...
0
votes
1
answer
37
views
azure maps outlining a polygon extrusion or adding a line extrusion layer to highlight the outline of shapes
I am currently trying to create a mapping tool for a building in azure maps, to give some 3d styling to it I want to add a polygon extrusion layer and increase the height of the polygons based on ...
-1
votes
1
answer
40
views
Removing a Layer From Azure Maps
I'm working with Azure maps and the weather widget, i have the weather loaded, and works great but now I want to remove it with a button, I put a click event and passed the remove function but it says ...
0
votes
1
answer
28
views
can't load geojson file into azure maps using javascript, but gives 404 error
I am attempting to load a geojson file in azure maps, I am building a standard razor pages web app in visual studio. The geojson files are in a folder called 'data', but when I try to load the files I ...
1
vote
1
answer
50
views
Accessing .Net methods via JSInvokeable from HTML within Blazor WASM
We have integrated the Azure Maps Control into our blazor WASM app using the following library, so that we can get the benefit of interacting with Maps via C#:
https://github.com/arnaudleclerc/...
0
votes
1
answer
70
views
Accessing Azure Maps JavaScript methods via Blazor WASM Maps Component
We have integrated the Azure Maps Control into our blazor WASM app using the following library, so that we can get the benefit of interacting with Maps via C#:
https://github.com/arnaudleclerc/...
0
votes
2
answers
46
views
Can Azure Maps keep the display of linestring shape for all zoom Levels?
I would like to know if it is possible for Azure Maps to keep the LineStrings for all zoom levels.
Here an exemple :
I have a line which will be invisible at zoom level <~ 12 and reappear at zoom ...
1
vote
1
answer
41
views
Azure Maps: How to install version 3 of the azure-maps-control package
I tried to install the new version 3.x azure-maps-control npm package but it seems to have some problems with Typescript:
It refers to an azuremaps-maplibre-gl module which cannot be found anywhere. ...
0
votes
1
answer
91
views
Azure Maps clear map without affecting style
I have multiple rendering options exposed through a UI in my Azure maps application. When a user changes one of these options, then the whole map is re-rendered. This functionality uses map.clear() ...
0
votes
1
answer
43
views
Azure Maps Data-driven Style Expressions using dynamic code variables
I have an Azure Maps project where I use a lot of data-driven (style) expressions to choose how I visualize my map. However, I've stumbled upon a problem that I cannot find an answer to.
Context: My ...
0
votes
1
answer
39
views
Azure Maps map rotation aligned label on top of extruded polygon
Is it possible to create an elevated non-rotating label on top of an extruded polygon inside Azure Maps?
For context, labels can either rotate together with the camera view (picture 1; rotation ...
0
votes
1
answer
33
views
Extending road data in Azure Maps with custom data for wayfinding
I'm currently using Azure Maps for visualization of objects inside a private area and I'd like to add custom road-data (e.g. in geojson) to add wayfinding inside that area. I see that there's an Azure ...
0
votes
1
answer
61
views
Get "source 'cloudsTileLayer-RasterSource' not found" error when I attempt to add a weather tile layer to Azure Maps
I have a React app using the React-Azure-Maps npm package. I am trying to create a weather layer, which I think is quite similar to the code sample from the layer.
My code to add the layer is as ...
-1
votes
1
answer
75
views
Azure Map -How to show number on grid for reference
Below link is example which we used but,
We want to show grid number on the map which is show in below image
https://samples.azuremaps.com/polygons/show-points-of-gridded-data-source
0
votes
1
answer
45
views
Upload operation fails for zip file: Azure maps dataset
I'm following this tutorial to be able to upload a set of geojson files (zip), to be used as an Azure Maps Creator dataset. The tutorial states that I need to create a zip file filled with geojson ...
1
vote
1
answer
95
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 ...
2
votes
1
answer
59
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";
// ...
1
vote
1
answer
105
views
Use Azure map services to get the lat/long of a zip code
Using Azure map services MapsSearchClient, how can I pass it a zip code and nothing more, and get back the latitude/longitude of the zip code (I assume the center point of the zip code but don't ...
0
votes
1
answer
50
views
Azure Maps - Line Stroke Gradient Color Issues
I have an application that plots a route on the map. The line on the map shows as a different color depending on the estimated temperature of the product (this is for food shipments and temperature ...
0
votes
2
answers
234
views
Marker and GeoJSON not displaying over Maplibre map with bing maps tiles
I've created a react component to render a Maplibre map with with satellite raster tiles from Bing Maps as described here. The map renders correctly but markers and GeoJSON, are NOT displayed. I ...
0
votes
1
answer
84
views
How to add polygon layers with the coordinates in azure maps
I'm using azure maps controls npm package. I've added the code to render the polygon layer.
For some polygons the layer is coming up as expected. For some layer is not coming as expected. For some ...
0
votes
1
answer
37
views
How can I preserver the Suite/Apt in a call to SearchAddressAsync(string)?
When calling MapSearchClient.SearchAddressAsync(string), if there is a suite or apartment line in the address, it is thrown and not returned in the results.
How can I preserve this to put it in the ...
0
votes
2
answers
144
views
How do I get the location of a P.O. Box?
I am using Azure Maps and when I give it a P.O. Box, it tells me it cannot provide a longitude & latitude for it. I need this for find stuff within a rough distance and so I'd prefer the lat/long ...
0
votes
1
answer
109
views
Is it possible to create Azure Maps SAS token programmatically?
This question for Azure maps Not for Storage account.
we implemented SAS token key for Azure maps instead for subscription key. Is it possible to create azure maps SAS token programmatically?, so it ...
0
votes
1
answer
41
views
Azure Maps weighted HeatMap that ignores amount of datapoints when calculating color intensity
I am working on a project where I collect geospatial data combined with sensor readings of air quality. I am currently using an Azure Map weighted HeatMap Layer which is working so far. My problem ...
-1
votes
2
answers
72
views
Azure map style "blank" color change few days ago (changed to black to beige)
Azure map "blank" style map background color changed automatically to beige before that it's black
its also got changed in azure map samples.
(https://i.stack.imgur.com/4zGsM.png)
Please ...
0
votes
2
answers
1k
views
How to use Power BI Azure Maps Visual?
We want to use Azure maps in place of the old bing maps in our Power Bi reports. Azure maps for Power BI is currently disabled in our organization. If we enable it in our organization, will it start ...
0
votes
1
answer
84
views
Azure Maps SearchAddressResultItem.Address.FreeFormAddress is incomplete
I am using Azure Maps to get back a corrected address and its location. The FreeFormAddress is not great because:
It does not include the country.
It has just the 5 digit zip, not the 5+4.
It is all ...
-1
votes
1
answer
47
views
Storing a structured address vs. a string for a user's address
I am diving in to using the Azure Maps service and while it can accept a StructuredAddress, it seems to prefer that it get the address as a string. In other words, it wants:
var addr = "15127 NE ...
1
vote
1
answer
107
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 ...
0
votes
1
answer
125
views
Can't remove events from Azure Maps in Angular
I'm trying to implement Azure Maps and I'm running into an issue.
I'm creating and removing layers at run time, and every time I set a new layer I add the event 'mouseup' on that layer to be able to ...
0
votes
1
answer
160
views
How to render rail or train tracks in Azure Maps at all zoom levels?
I am trying to render train locations in Azure Maps. To give more context to the train locations I would like to show the train tracks. However, by default, train tracks only appear when very zoomed ...
0
votes
1
answer
235
views
Use Azure Maps search to get a list of addresses on street
Is it possible to use Azure Maps Search Api to get a list of addresses with house numbers just supplying street and locality / postal code?
Just passing the street and postal code only gives me ...
0
votes
2
answers
287
views
Azure Maps Show's white screen
Been fighting with this for 2 days now and i'm not sure what Todo.... and its very simple im trying to add a map to my website just the basic one nothing fancy and the only thing that show's is ...
4
votes
2
answers
6k
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 ...
0
votes
1
answer
340
views
Azure Active Directory Token for Azure Map
I tried following example to implement the Azure Active Directory Token for Azure Map.
//Html
<html>
<body>
<input type="button" onclick="LoadMapControl(this)" ...
0
votes
2
answers
60
views
Resizing a programatically loaded rectangle with DrawingManager
I'm implementing a web app using Azure Maps with the DrawingManager library. I want to give my end users option to save a drawn rectangle and possibly edit it by resizing later. This should be ...
0
votes
1
answer
125
views
Get polygon from Azure Maps Search
I'm trying to use Azure.Maps.Search to give me a polygon for a result. For example, if I search for "Birmingham" I would like a result for that municipality with a collection of geopoints ...
1
vote
1
answer
106
views
is there anyway we can add curved polylines in azure maps js
I used offset property of linelayer in azure maps but it didn't worked
var polylines = new atlas.layer.LineLayer(datasource2, null, {
strokeColor: 'DarkOrchid',
strokeWidth: ['sqrt',['...
0
votes
0
answers
94
views
UndeliverableException on a simple Observer. I don't understand where come from
The error message is:
The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with.
I cant get where it ...
0
votes
0
answers
57
views
Azure maps POI search returns at max 100 TOTAL RESULTS
Search For eg search query - Hospital Country set- IN. total results found are <=100.if you send the request again the number of total results change. This has started happening recently and was ...
0
votes
2
answers
105
views
how can i add Bi directional lines in azure maps
is there any way we can add two polylines between two coordinates
new atlas.data.LineString([[point A],[point B]])
new atlas.data.LineString([[point B],[point A]])
like this
currently it shows only ...
0
votes
1
answer
163
views
Azure maps close htmlMarker popup programmatically
Can't seem to close the azure maps htmlMarker popup programmatically using popup.close()
I'm using azure maps to display htmlMarkers on the map and using azure maps htmlMarkers to display a popup when ...
0
votes
0
answers
52
views
What does "NSInternalInconsistencyException Reason: MGL_MATCH is not a supported method." mean?
I have built a Swift wrapper of the Azure Maps SDK for iOS in an XCFramework and created .NET (7) for iOS bindings to it.
When I consume my bindings project in a simple test .NET for iOS app, the ...
0
votes
1
answer
87
views
Azure Maps fuzzy search results are not limited to bounding box
When I perform a fuzzy search using the Azure Maps REST API, the results are not limited to the bounding box I specify. This makes searching for partial addresses much less useful, since many/most/all ...
0
votes
1
answer
118
views
C# AzureMaps page doesn't show the map when moving to MVC application
I have a html page of AzureMaps on github. I run directly the html file by Chrome and it works. But when I move it to MVC application, it doesn't show the map.
I don't know what I'm missing when I ...
0
votes
1
answer
37
views
How can we remove some colorscale/numbers from "Show points of gridded data source" Azure map?
Currently, we are implementing azure Show points of gridded data source map. Below so the link for the same.
https://samples.azuremaps.com/?sample=show-points-of-gridded-data-source
Here, we want to **...