|
POST
|
Thank you for the simple reproducer. This makes it really easy to reproduce and understand the problem. What you're seeing here is a difference between "heading" and "course". The arrow shows the course, the compass mode orients based on heading. In your sample you're never setting the Heading. You can add `UpdateHeading(course)` to also set the heading, but typically you'll do that based on a compass sensor. I'm guessing what you're really looking to use is the Navigation pan mode, rather than compass mode. which will rotate the map based on your course. Heading: The direction you're (or rather the device) is facing. Course: The direction you're moving in. Think of looking out the side window of a car: You're heading to the side of the direction you're moving in. It's mostly used for figuring out "what am I looking at in 'that' direction", or dealing with cross-wind situations etc.
... View more
02-16-2022
09:02 AM
|
0
|
2
|
2907
|
|
POST
|
How's this: var peer = new Esri.ArcGISRuntime.UI.Controls.MapViewAutomationPeer(mapView);
Point? start = null;
mapView.MouseDown += (s, e) =>
{
if (e.ChangedButton == MouseButton.Middle)
start = e.GetPosition(mapView);
};
mapView.MouseUp += (s, e) =>
{
if (e.ChangedButton == MouseButton.Middle)
{
start = null;
peer.Complete();
}
};
mapView.PreviewMouseMove += (s, e) =>
{
if (e.MiddleButton == MouseButtonState.Pressed && start.HasValue)
{
var p = e.GetPosition(mapView);
peer.Pan(p.X - start.Value.X, p.Y - start.Value.Y);
start = p;
}
};
... View more
02-10-2022
10:29 AM
|
1
|
0
|
1597
|
|
POST
|
Are you just getting a warning and the app still runs? Is there anything else in the output window indicating a problem? I just hit this similar issue myself, which appears to be a very recent regression in Visual Studio: https://github.com/xamarin/xamarin-macios/issues/13804
... View more
01-19-2022
11:18 PM
|
0
|
1
|
1261
|
|
POST
|
I think this would be a question for whoever built the software that is used to run that WMS server. The runtime can't do much other than just request a particular format and present whatever it gets. You can also refer to the WMS Spec, although it doesn't actually seem to go into any detail regarding this, so again it's really up to whoever implemented that service to describe what they mean by the different formats they advertise: https://portal.ogc.org/files/?artifact_id=14416
... View more
12-16-2021
11:33 AM
|
0
|
0
|
5743
|
|
POST
|
Regarding name change: To get naming consistency between 2D and 3D (ie maps and scenes). And as Joe said, this is an entirely new SDK. You'll find many similarities, but expect many concepts to be refined.
... View more
12-15-2021
12:21 PM
|
1
|
0
|
2280
|
|
POST
|
Did you set the ApiKey? The basemap you're using requires that to be set. https://developers.arcgis.com/documentation/mapping-apis-and-services/security/#api-keyshttps://developers.arcgis.com/net/get-started/#3-access-services-and-content-with-an-api-key Otherwise try Basemap.CreateImagery() which uses a non-metered service.
... View more
12-09-2021
09:09 AM
|
0
|
0
|
1493
|
|
POST
|
In the SceneView there isn't really "zoom". It's a camera that moves forward or backwards when the mouse wheel event fires. So I'm guessing what you really want is a way to control how low or high you can go above the ground? You could listen to the PreviewMouseWheel event and if your camera altitude is a certain level, set e.Handled = true to prevent the SceneView from reacting to the wheel event.
... View more
12-01-2021
07:48 AM
|
0
|
0
|
3228
|
|
POST
|
I've been unable to reproduce the issue, so I'm fairly certain it is device/driver specific. Here's an example of creating a datasource that uses the existing datasource and performs some simple location filtering: public class FilteredLocationDatasource : LocationDataSource
{
private readonly LocationDataSource internalDatasource = new SystemLocationDataSource();
public FilteredLocationDatasource()
{
internalDatasource.LocationChanged += InternalDatasource_LocationChanged;
internalDatasource.HeadingChanged += InternalDatasource_HeadingChanged;
}
private void InternalDatasource_HeadingChanged(object sender, double e) => base.UpdateHeading(e)
private void InternalDatasource_LocationChanged(object sender, Location e)
{
if (e.Position.X != 0 && e.Position.Y != 0)
base.UpdateLocation(e);
}
protected override Task OnStartAsync() => internalDatasource.StartAsync();
protected override Task OnStopAsync() => internalDatasource.StopAsync();
}
... View more
11-30-2021
01:14 PM
|
0
|
1
|
2220
|
|
POST
|
In that case, this sounds like a location driver issue on your device. You might want to check for updated drivers or reach out to the hardware manufacturer.
... View more
11-30-2021
09:58 AM
|
0
|
2
|
2224
|
|
POST
|
Thank you for reporting this. The underlying datasource used for location is the Geolocator, so it should be identical. I double-checked our code and if geoposition.Coordinate.PositionSource == PositionSource.WiFi it should say "WIFI", and only if PositionSource.Satellite it should say GNSS. How are you creating the geolocator you used for comparison? I wonder if you're seeing different behavior on different ways of creating it? Here's the equivalent settings the runtime uses: new Geolocator()
{
DesiredAccuracy = PositionAccuracy.High,
MovementThreshold = 0,
ReportInterval = 1000,
}; > The other thing I wondered was how come the locationChanged event is firing twice a second when the position remains at 0,0. There might be other things changing, like accuracy, elevation, heading, speed etc.
... View more
11-30-2021
09:09 AM
|
0
|
4
|
2228
|
|
POST
|
The Runtime doesn't support equivalent custom low-level renderers.
... View more
11-29-2021
09:10 AM
|
1
|
0
|
1134
|
|
POST
|
If you have the repro steps for this issue, I'd encourage you to submit a VS4Mac feedback issue: https://developercommunity.visualstudio.com/report?space=41&entry=problem If you do, feel free to link it here, so everyone affected can upvote and/or add more detail, and we can also help increase visibility for this issue with the VS4Mac team.
... View more
11-19-2021
09:38 AM
|
0
|
0
|
3038
|
|
POST
|
You can use QueryAsync on myShapefile to query all the features. Use the ObjectID column to compare attributes. If you're just trying to "sync" data however, you might want to consider using ArcGIS Server and a local mobile geodatabase, since you can perform a simple sync operation to bring your local data in sync with the server.
... View more
11-19-2021
09:35 AM
|
0
|
0
|
1118
|
|
POST
|
What is it you need clarified that the sample doesn't already cover?
... View more
11-19-2021
09:32 AM
|
0
|
0
|
972
|
|
POST
|
> but my mmpk file remains blank when you try to load it. Can you explain what you mean by "blank" ? Is the file not downloading, is the mmpk not containing any maps, are the maps that are in it not able to load (and if so what error are you getting?), do the map have layers in it after load, or do it all look fine but you just see blank rendered map on the mapview, do any of the layers fail to load (and if so again with what error)?
... View more
11-19-2021
09:29 AM
|
0
|
0
|
1047
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-22-2026
09:19 AM
|