question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compass control not appearing on iOS (Xamarin.Forms)

See original GitHub issue

With the layout below, the compass control appears in the correct position (upper right hand corner) on UWP and Android, but does not appear at all on iOS.

<Grid Grid.Row="1">
	<Grid.ColumnDefinitions>
		<ColumnDefinition x:Name="LegendColumn" Width="0" />
		<ColumnDefinition Width="*"/>
	</Grid.ColumnDefinitions>

	<forms:MapView x:Name="MV" ViewpointChanged="MapViewpointChanged" Grid.Column="1"
			   VerticalOptions="FillAndExpand" Map="{Binding Map}" />

	<esriTK:Compass x:Name="Compass" HorizontalOptions="End" Heading="0" VerticalOptions="Start" Margin="20" Grid.Column="1"
					GeoView="{x:Reference MV}" AutoHide="False" />
	<esriTK:ScaleLine Foreground="White" HorizontalOptions="Start" VerticalOptions="End" Grid.Column="1"
					Margin="20" MapView="{x:Reference MV}" />

	<ScrollView Grid.Column="0">
		<esriTK:Legend HorizontalOptions="Start" VerticalOptions="Start" 
					FilterByVisibleScaleRange="True" 
					IsVisible="True" GeoView="{x:Reference MV}" />
	</ScrollView>
</Grid>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dotMortencommented, May 10, 2019

It’s already fixed if you pull latest source

0reactions
jessharrellcommented, Dec 18, 2019

The latest nuget package in the Nuget Gallery is 100.4.0 and contains the bug. I’d like to update to an officially published package in my app in which the bug has been fixed. Is there a target date for the release of a new arcgis-toolkit-dotnet nuget package to Nuget Gallery?

I see in the readme

The NuGet server is available at: https://ci.appveyor.com/nuget/arcgis-toolkit-dotnet

However I am unable to connect to it. Is that still a valid NuGet server?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compass control not appearing on iOS (Xamarin.Forms)
With the layout below, the compass control appears in the correct position (upper right hand corner) on UWP and Android, but does not...
Read more >
Xamarin.Essentials: Compass
This document describes the Compass class in Xamarin.Essentials, which lets you monitor the device's magnetic north heading.
Read more >
Xamarin.Forms.Maps iOS Padding
The problem I am trying to solve is that the compass on the map appears on the top right corner of the map...
Read more >
How to design a compass that always points to a specific ...
This article describes how to design a compass that always points to a specific place in Xamarin.Forms circular gauge (radial gauge). Solution.
Read more >
Controls and Gestures | Maps SDK for Android
You can disable the compass appearing altogether by calling UiSettings.setCompassEnabled(boolean) . However, you cannot force the compass to always be shown.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found