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
9
votes
5 answers

Warning: MapServiceToken not specified

I have been making an UWP app with the using a MapControl but when I run the app I get an error in the bottom corner saying "Warning: MapServiceToken not specified". The XAML I am using is as follows:
Robert Small
  • 95
  • 1
  • 8
6
votes
1 answer

UWP maps, add 3D object

I would like to add 3D object in Windows 10 UWP map control. This object would be "polygon with height", e.g. simple representation of a house - cuboid or cube. Illustration image: I know that I can add Xaml control (and inside it 3D object e.g.…
Amir
  • 211
  • 3
  • 14
5
votes
3 answers

Binding a MapIcon in XAML

I'm trying to use a MapControl, showing a MapIcon for the currently viewed location. In my XAML, I've got:
Rowland Shaw
  • 37,700
  • 14
  • 97
  • 166
3
votes
1 answer

How to have a pushpin (MapIcon) without the black line and offset

I'm using a XAML-MapControl in a UWP-project. When you create a MapIcon, the image is floating a fixed offset above the desired location on the map, instead of directly on the map, with a black line connecting the icon with the map, as you can see…
Stef
  • 315
  • 3
  • 14
3
votes
1 answer

Xamarin Forms - Image To/From IRandomAccessStreamReference

For personal needs, for the Xamarin.Forms.Map control, I need to create a CustomPin extension. UWP part (PCL project) I create a MapIcon like it: nativeMap.MapElements.Add(new MapIcon() { Title = pin.Name, Image =…
Emixam23
  • 3,854
  • 8
  • 50
  • 107
3
votes
2 answers

Bing Maps not loading tiles from local app data

I need to load custom map tiles into my UWP Bing Maps app, and I need to load them from ApplicationData.Current.LocalFolder. What happens is that tiles are not loaded and the map is completely black. While doing some troubleshooting I noticed that…
StepTNT
  • 3,867
  • 7
  • 41
  • 82
3
votes
2 answers

How to add Z-Index to XAML controls in Windows 10 MapControl

1 it was quite easy to add pushpins and whatever you liked to several layers, clear those layers and you could make sure that some items where in front of others. With Windows 10, that control is gone, and replaced by a control with half the things…
Fritjof Berggren
  • 3,178
  • 5
  • 35
  • 57
2
votes
2 answers

Projecting points onto 3D terrain surface in UWP MapControl

I'm creating a windows desktop app using the UWP Map control (MapControl) and inking based on this blog post. I have the basics working. can draw ink on the canvas and convert them to map locations, but I can't get the points to correctly project…
Geordie
  • 1,920
  • 2
  • 24
  • 34
2
votes
2 answers

How to remove dot and tail from MapIcon on UWP Map

Is there any way to remove the dot and tail attached to MapIcons? (Without using a map child) Thanks in advance
2
votes
1 answer

UWP Mapcontrol - Binding to collections of different MapElement and arranging them in layers

I am displaying several different types of MapElements on the UWP MapControl and regularly updating their position, size, etc. as the user works with the map. Currently I do all of this in code. I'd like to find a convenient way of binding multiple…
Vladimir Akopyan
  • 644
  • 8
  • 16
2
votes
1 answer

Detect off course from a MapPolyline on a MapControl in UWP

I have a MapPolyline drawn on a MapControl using anchor points from a GPX file. How can I detect when my position is off of the Polyline? I tried measuring the distance between the anchor points, and if it's off by 20 meters I raise a off course…
Gala
  • 2,592
  • 3
  • 25
  • 33
2
votes
1 answer

UWP MapControl children not fixed positioned anymore after W10 Creators update

After the Windows 10 Creators upgrade (build 15063), the MapControl children in my UWP app aren't fixed on the map anymore when moving or zooming the map itself. From a specific zoomlevel, I noticed a difference in behaviour when zooming on the map.…
Wietse-0803
  • 125
  • 1
  • 4
2
votes
1 answer

UWP MapControl mouse/pointer over

I am new to UWP and am using the MapControl. I would like to know if there is any way to get it to respond to the MouseOver (PointerOver for UWP) event. I have a couple of scenarios where I could use this type of information: I want to allow my…
Steve0212
  • 682
  • 2
  • 6
  • 23
2
votes
1 answer

UWP MapLocationFinder.FindLocationsAtAsync is not returning continent info

I have this code to retrieve the current user's address, I need to get the continent information, but it seems to be returning blank. Any idea what am I doing wrong var geoPos = await geo.GetGeopositionAsync(); var s…
Anu
  • 203
  • 2
  • 9
2
votes
2 answers

How to rotate a polygon on a map with the long/lat coordinates?

I want to rotate a polygon (for example this arrow) by replacing the hardcoded offsets values with a function where can pass in the nord pointing offset and the amount of degrees I want the arrow to rotate at. I tried using a Rotation matrix but…
MatMis
  • 309
  • 3
  • 16
1
2 3
9 10