Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Kangho 171fa0faec Remove InternalsVisibleTo from Maps (#1019) 2017-07-24 16:23:14 -04:00
Ethan Dennis 5ca7259959 UWP MapRenderer NRE and Location fixes (#811)
* 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-20 08:40:04 -07:00
indydawgy 917d27e079 UWP MapRenderer fixes. (#724)
* 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.
2017-03-07 10:40:47 +00:00
Jason Smith 23fd0b6395 [UWP]Track user location when IsShowingUser enabled (#556) 2016-11-22 13:02:12 +00:00
kingces95 10f6c08ceb Mop up enabling warnings as errors (#78) 2016-04-12 11:44:30 -07:00
kingces95 b7251aa6f9 Warnings as Errors in product projects 2016-04-06 10:32:29 -07:00
Rui Marinho 3adea68113 [UWP] Fix resource key name PushPinTemplate 2016-03-23 18:24:41 +00:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00