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
0
votes
2 answers

Forbid scrolling in MapControl uwp

I am playing with MapControl in UWP, and I would like to forbid the looping in the horizontal scrolling with a left mouse click, I would like my widget be like map not like a globe and map rotating with a right click, I have looked in Internet and…
Andrey Mazur
  • 510
  • 4
  • 14
0
votes
1 answer

UWP MapControl get XAML childrens by offset

Is there a away to get XAML children with offset or Geolocation? Like the builtin function of the MapControl MapControl.FindMapElementsAtOffset(Point p)
user3136572
  • 134
  • 10
0
votes
1 answer

UWP Mapcontrol - add tooltip to element?

I have a bunch of MapIcons defined similarly to this: Geopoint t_pt = new Geopoint(new BasicGeoposition() { Latitude = -50.05, Longitude = 22.12 }); MapIcon t_icon = new MapIcon { Location = t_pt }; t_icon.Title…
os1
  • 412
  • 1
  • 6
  • 18
0
votes
1 answer

UWP Map Control with animated Custom Layers

I am trying to animate custom layers within my application, using the MapControl. I am able to set each layer and view them, however, I am not able to animate them smoothly. Previously, I used Bing Maps SDK, which I had a timer set to toggle the…
NiteLordz
  • 597
  • 2
  • 18
0
votes
1 answer

UWP MapControl: Web Mercator

What is the math behind the actual UWP MapControl (like in Windows 10 Maps-App) with "WebMercator" projection? It seems it isn't a real static/quadratic web mercator (EPSG:3857). It's slightly ellipsoid. For normal web mercator you can use these…
Maas
  • 381
  • 3
  • 13
0
votes
2 answers

How can I prevent XAML items from disappearing when their centres leave the map bounds?

I have added XAML elements to my MapControl as according to the official docs. However when the centre of the item leaves the map bounds it no longer draws, so when zoomed in large items disappear when the centre is no longer visible. In my case I…
Brendan
  • 18,771
  • 17
  • 83
  • 114
0
votes
1 answer

SetZoomLevelAroundPoint in UWP MapControl?

I have a Windows Store (8.1) app that uses Bing Maps library and I am converting to UWP using the MapControl. My map has a partial floating overlay to the right of the screen showing some extra info, however, this moves the effective center of the…
Brendan
  • 18,771
  • 17
  • 83
  • 114
0
votes
0 answers

UWP app crashes when rotate or zoom map with pinch

I am working on Xamarin. Forms UWP Map and whenever I try to zoom map with pinch instantly it crashes with no information. Below is the link of sample project I have referred, and I am adding my sample XAML code as well. Please help me out as this…
Sudeep
  • 1
0
votes
1 answer

C# - Cannot display MapControl using Bing Map

I have a control folder like below: XAML:
Rose
  • 613
  • 4
  • 22
0
votes
1 answer

Is there anyway to change the font in a MapIcon element?

I have a UWP application where I am placing MapIcon elements on a MapControl. I use a custom image and specify the text, but would like to make the font slightly larger. Is there anyway to change the font size for MapIcons? Thanks.
Tom Lindley
  • 351
  • 1
  • 3
  • 14
0
votes
1 answer

Custom pin moving when map is zoom in or zoom out in UWP under MapsItemsControl

I am currently working on an app where I need to show location pins along with address on the map, but currently, when I zoom in or zoom out, the pin keeps moving and from the look and feel, it's clearly visible that pin is also moving from its…
Kinjan Bhavsar
  • 1,439
  • 28
  • 58
0
votes
1 answer

UWP MapControl issue anchoring xaml children

I'm new to UWP MapControl currently. I have a simple problem when adding XAML children to map (instead of the regular map elements). this is my code: private void MapRightTapped(MapControl sender, MapRightTappedEventArgs args) { …
user3136572
  • 134
  • 10
0
votes
1 answer

Bing Maps Geocode Creators Update

Since the Creators Update, results from using the UWP Bing Maps API for geocoding and reverse geocoding have significantly changed. Locations that used to be found are now not and the addresses have values in different properties. I can run the…
Alan Bradbury
  • 128
  • 2
  • 8
0
votes
2 answers

UWP MapControl: How to prevent zoom on MapDoubleTapped?

I need to catch a double click/tap event on a map polygon in order to show an "edit properties" dialog. How can I prevent the map zoom on double tap (on a polygon)? There is no e.Handled property available. The map must still be zoomable by double…
IngoB
  • 2,552
  • 1
  • 20
  • 35
0
votes
2 answers

Invalid Credentials on MapLocationFinderResult uwp c#

I am having a strange problem with the use of MapLocationFinder. I am using MapLocationFinder to retrieve longitude and latitude based on string address: string address = ""; // Any address here var locFinderResult = await…
user2081328
  • 159
  • 3
  • 15