path: root/Xamarin.Forms.Maps.UWP
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20UWP MapRenderer NRE and Location fixes (#811)Ethan Dennis1-9/+19
* Issues: 1. If UWP MapRenderer is navigated away from, before the user location is found, an uncaught NRE will be thrown. 2. UWP MapRenderer updates are not enforced to be on UI thread 3. Order of operations in MapRenderer would cause user location to never be shown. Fixes: 1. Added null checks in UpdateUserIsShowing and LoadUserPosition methods. 2. Called map position updates on UI thread. 3. Changed order of operations in OnElementChanged to allow for user geocoordinates to be shown. * Fixed code formatting issues * Fix formatting * Deterministic null checks * Updated null checks
2017-03-07UWP MapRenderer fixes. (#724)indydawgy1-23/+17
* Issues: 1. The MapRenderer calls TrySetViewBoundsAsync before the map is ready for it. This causes the map to hardly ever initialize to the correct position. 2. The visible region calculation gets the zoom wrong. 3. Map can cause a crash if you rotate/zoom a lot when setting the visible region. Fixes: 1. Call MoveToRegion using MapControl's RunIdleAsync to have it move after the map starts rendering 2. lat/long delta should be: var latitudeDelta = Math.Abs(nw.Position.Latitude - se.Position.Latitude); var longitudeDelta = Math.Abs(nw.Position.Longitude - se.Position.Longitude); rather than calculated from the center 3. Move the visible region set into the try/catch block. * Made spaces into tabs to conform to previous standard.
2016-11-22[UWP]Track user location when IsShowingUser enabled (#556)Jason Smith1-2/+21
2016-04-12Mop up enabling warnings as errors (#78)kingces952-2/+6
2016-04-06Warnings as Errors in product projectskingces951-6/+16
2016-03-23[UWP] Fix resource key name PushPinTemplateRui Marinho1-1/+1
2016-03-22Initial importJason Smith8-0/+705