Questions tagged [uwp-maps]

Windows Maps is a mapping platform provided by Microsoft, offering 3D data, offline maps, streetside imagery, POIs and many other location-aware features. It powers many Microsoft as well as third-party UWP apps.

Windows Maps is a mapping platform provided by Microsoft, offering 3D data, offline maps, streetside imagery, POIs and many other location-aware features. It powers many Microsoft as well as third-party UWP apps.

Technical support

Resources

148 questions
1
vote
1 answer

How to get localized MapLocation in UWP?

I'm using a simple method that returns map location for me, but I would like to get that address in english only. public static async Task ResolveLocationForGeopoint(Geopoint geopoint) { MapLocationFinderResult result = await…
tixovoxi
  • 171
  • 4
  • 11
1
vote
1 answer

Change overlap order in a MapControl

I need to add some elements to a MapControl, for example:
Stefano Balzarotti
  • 1,760
  • 1
  • 18
  • 35
1
vote
2 answers

Calculate Latitude and Longitude based on heading in a viewport

Does anyone have a solution for calculating the Latitude and Longitude corners of a view based on heading? I have a function that calculates the LatLng corners of a view if heading is 0. But I wish to find a way to calculate the corners based on a…
Startail
  • 67
  • 7
1
vote
1 answer

MapControl map size (pixels)

This article describes how to get the total map size in pixels depending on the actual zoom level. The formula should be: map width = map height = 256 * 2^level pixels Unfortunately this doesn't seem to work for the MapControl for universal apps.…
Maas
  • 381
  • 3
  • 13
1
vote
2 answers

MapControl Template10

SOLVED I solved this problem with the fact that I have to add a MapItemsControl.ItemTemplate. Without this it does not render anything more than the name of the control. So just add this code:
Startail
  • 67
  • 7
1
vote
1 answer

Binding objects to Map

I'm trying to add objects from an ObservableCollection to my map, but for some reasons the objects are shown in top left corner instead of their real coordinates.
StepTNT
  • 3,867
  • 7
  • 41
  • 82
1
vote
1 answer

UWP MapControl: distinction between user- and app-manipulation

Within an UWP-App containing a MapControl, is there a way to distinct between a manipulation to the map made by the user (e.g. by pinch to zoom) and one, that is made by the app itself? (e.g. by calling mapControl.TrySetViewAsync(...)) It doesn't…
Jerome Dreyer
  • 144
  • 10
1
vote
1 answer

Is there a way to customize style of Bing Maps PolyLine?

Is it possible to add custom styling to polyline in Windows UWP maps control? For example can you make a gradient on the line so one side is bold and then fades to the other side, or maybe make the edges of the line blurred.
erotavlas
  • 4,274
  • 4
  • 45
  • 104
1
vote
1 answer

Extension for MapControl c# UWP

I have to draw line on MapControl. I have XAML View my MapControl:
1
vote
1 answer

Double Buffering Win 10 Universal App Maps

I am having refresh issues with the Windows.UI.Xaml.Controls.Maps.MapControl. In the code below, Map is an instance of Windows.UI.Xaml.Controls.Maps.MapControl. I have mapPolygons which I am repetitively refreshing every ~40 ms, and there is a lot…
LloydGrade
  • 19
  • 2
1
vote
2 answers

Get distance of MapControl border in degrees

I have a MapControl and would like to know how many degrees are currently shown on the x and y axes. First example: 360 degrees are shown on the x axis (longitude) ~90 degrees are shown on the y axis (latitude) (The zoom level is 3.2 and it's max…
Tobias H
  • 71
  • 8
0
votes
0 answers

maplocationsfinder.findlocationsasync trouble

Im doing exactly the same as in this question: How can I call MapLocationFinder.FindLocationsAsync() to get the coordinates for an address without already knowing the latitude and longitude? However my result.locations list keeps running into an…
user17611369
0
votes
1 answer

UWP application with MapControl crashes without raising the UnhandledException event

We have a complicated UWP application that crashes periodically/randomly for customers. We've also experienced the crashes in-house, but despite numerous attempts, we've been unable to find any pattern or reproduce the issue with any consistency.…
Jeremiah Mercier
  • 451
  • 5
  • 18
0
votes
2 answers

How to copy List by value and not by reference?

I'm attempting to copy a List but have so far only managed to copy the reference. Can anyone offer a way to do this without creating the original MapIcon object again. I now understand why the methods i've…
AlexS
  • 510
  • 2
  • 7
  • 23
0
votes
1 answer

UWP: Refresh MapElementsLayer

I have a MapLayer defined on my MapControl using the following: I defined a MapElementsLayer and added it to my MapLayer. I now programmatically create elements and add them to…
johnd
  • 3
  • 1