xamarin/Xamarin.Forms

[Bug] [UWP] IsShowingUser makes map center over user

オープン

#8,673 opened on 2019/11/26

 (8 件のコメント) (1 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/maps :globe_with_meridians:e/2 :clock2:good first issuehelp wantedinactivep/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

When setting IsShowingUser = true, the map center over the user and also set some default zoom level. This creates problems when you want to show the user icon, but on the same time set a custom visible area of the map.

This issue was reported in Bugzilla in 2017 but never solved, from what I can see.

Steps to Reproduce

  1. Put a mapcontrol on a page <Map IsShowingUser="True")/>
  2. Use MoveToRegion() when the page appears
  3. The UWP gets an update of your current location, it will center over you

Expected Behavior

User mark should be shown. No change of visible region should be made

Actual Behavior

The map is centered above the user (and a default zoom level is set)

Basic Information

  • Version with issue: XF: 4.3.0.991211
  • Last known good version: Unknown (probably none)
  • IDE: VS 2019 Windows
  • Platform Target Frameworks:
    • UWP: 1903
  • Nuget Packages:
  • Affected Devices:

Screenshots

map_center

Reproduction Link

コントリビューターガイド