POST
|
Hi Mike, Do you have a timeline of when the Closest Facility Task would be available for .NET SDK?
... View more
02-05-2016
07:52 AM
|
0
|
2
|
467
|
POST
|
Yes, I do. But the event never fires. I cannot tap on the hyperlink to activate the RequestNavigate event when it is inside a MapOverlay. private void Hyperlink_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e)
{
Output("Hyperlink RequestNavigate");
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
}
... View more
02-04-2016
11:46 AM
|
0
|
0
|
779
|
POST
|
I am dealing with a similar issue. My Overlay is a hyperlink and I cannot get it to activate when touching it. I cannot get the RequestNavigate event to fire. Taking the border and put it out outside of the MapView, it works fine... <esri:MapView.Overlays>
<esri:OverlayItemsControl>
<Border x:Name="MapOverlay" Visibility="Collapsed" Background="Beige" Padding="12"
VerticalAlignment="Top" HorizontalAlignment="Right" BorderBrush="Black" BorderThickness="2">
<TextBlock FontSize="20" FontWeight="Bold">
<Hyperlink NavigateUri="http://www.esri.com" RequestNavigate="Hyperlink_RequestNavigate">
Go to Esri.com
</Hyperlink>
</TextBlock>
</Border>
</esri:OverlayItemsControl>
</esri:MapView.Overlays>
... View more
02-04-2016
11:38 AM
|
0
|
2
|
779
|
POST
|
Hi Adam, Thanks for raising the issue to Esri. The kind of pain you are going through is exactly what we tried to avoid by providing the known limitations within our documentation. But unfortunately, we ourselves do not know all the limitations until someone reports it to us or when we stumbled upon it. It is frustrating at times for sure.
... View more
12-23-2015
01:19 PM
|
0
|
0
|
367
|
POST
|
I have a GeodatabaseFeatureTable from which I am running some query against using the QueryAsync(QueryFilter) function. In some cases, my query can take some time to finish and I would like to cancel the operation. Unfortunately, the QueryAsync() function in this class does not provide a cancellation mechanism such as the QueryTask.ExecuteAsync(Query, CancellationToken). How would one go about to cancel the execution of the GeodatabaseFeatureTable.QueryAsync() ? QueryFilter qFilter = new QueryFilter { WhereClause = whereClause }; IEnumerable<Feature> returnedList = await _geoDbFeatureTable.QueryAsync(qFilter);
... View more
12-16-2015
06:08 AM
|
0
|
0
|
2000
|
POST
|
In our application, we would like to change the mouse cursor whenever the user hover the mouse over a graphic. We've came up with a way to do it using the GraphicsLayer.HitTestAsync() method whenever the mouse move. But I am not sure if this is the best way to do it because as I move my mouse over the map, my CPU spikes to 10-15%. I think this is too costly in terms of performance for such a simple feature. private async void MapView_MouseMove(object sender, MouseEventArgs e)
{
Graphic graphic = await HitTestAsync(_mapView, e.GetPosition(_mapView));
UpdateHoveringGraphic(graphic);
} The UpdateHoveringGraphic() function will then determine if the graphic has changed to generate a MouseEnter and MouseLeave event. We have several GraphicsLayer, so this adds up. Does anyone have any suggestions to accomplish this feature in a less resource intensive way? Thanks.
... View more
10-16-2015
07:07 AM
|
0
|
8
|
3248
|
POST
|
Do you have an idea of which particular "future release" where this will be available? Quartz release or one of the maintenance release (10.2.x)? Thanks.
... View more
10-15-2015
08:28 AM
|
0
|
1
|
467
|
POST
|
Hi, ArcGIS Runtime SDK for .NET comes with a RoutingTask which works great for solving routing problem. We need to tackle a different type of network problem, namely -- solving for Closest Facility. Is that even possible within Runtime SDK if we are provided with a routing package? I see that this is supported in other Runtime platforms, but not in .NET. If it is not possible in the SDK, is this type of network solving available in ArcGIS for Server? Any other suggestions? Thanks!
... View more
10-13-2015
06:30 AM
|
0
|
6
|
3538
|
POST
|
Our application has a similar requirement -- We did not use the GraphicsOverlay because it wasn't available at the time of implementation. But we we basically did is have custom codes that moves the graphic layers to the top of the stack whenever a layer is added. You should be able to access the layers and manipulate it in the MapView.Map.Layers collection.
... View more
10-08-2015
09:13 AM
|
1
|
1
|
605
|
POST
|
I find that maps rendered from Geodatabase do not look or behave the same way as it looks in ArcMap. This has been a point of frustration for our customers who are building their runtime content. I understand that the differences is expected because the map is rendered from two different engines, but the inconsistency and lack of documentation on these differences is frustrating. Here is a map seen in Arcmap. And here is the same map displayed at the same scale in ArcGIS Runtime. Note the following: - The freeway emblem does not show up. - The white shadow behind the black text is not there. - The label placement property is not observed (I've configured to duplicate labels - one per feature) Is there any documentation on what is supported and what is not?
... View more
10-02-2015
07:14 AM
|
0
|
3
|
3270
|
POST
|
After I updated my application to the latest SDK release (10.2.6), my composite symbols do not refresh anymore when I make an update. Reviewing the release notes, I found that this is a known issue: Changes to an existing CompositeSymbol (adding, removing, or updating the symbols it contains) are not reflected in the display. Workaround: Recreate, modify, and re-apply the composite symbol as illustrated in the following example. // create a new composite symbol var newCompoiteSymbol = new CompositeSymbol(); // loop through all symbols in the existing composite symbol foreach (Symbol s in oldCompositeSymbol.Symbols) { // copy symbols from the existing composite symbol to the new one newCompoiteSymbol.Symbols.Add(s); } // make desired changes for newCompoiteSymbol here ... // apply the new composite symbol foreach (Graphic g in gOverlay.Graphics) g.Symbol = newCompoiteSymbol; I have a couple of questions regarding this: 1) This was not an issue in 10.2.5, why is it an issue in 10.2.6? 2) Is there plan to address this issue in the future, if so -- when? We use Composite symbol extensively in our application, with the underlying design that the Graphic and CompositeSymbol is permanently linked. We will have to make a lot of changes to work around this issue. The workaround looks very inefficient and very inconsistent with how other type of symbols are updated. We don't want to make all this changes and then revert all these changes again when the issue is addressed. The CompositeSymbol is not something that's new. We are disappointed that the Dev team decided to release 10.2.6 with this breaking change.
... View more
10-01-2015
06:17 AM
|
0
|
0
|
1729
|
POST
|
... And I guess I should follow up with a thought that in order to get around this 'boxing' issue with the envelope, I can instead project the 4 points that make up the corners of the envelop, then rebuild the envelop after each projection -- that should keep the extent to its original size.
... View more
08-14-2015
08:06 PM
|
0
|
0
|
647
|
POST
|
Thanks Melita for taking the time to explain this concept to me. I am a SW developer, so some of this GIS stuff is sometimes over my head. But after reading through your explanation, it does help me to understand why this happens.
... View more
08-14-2015
08:00 PM
|
0
|
0
|
647
|
POST
|
I have a piece of code that converts a map extent from one projection to another using GeometryEngine.Project() function, then later convert it back to the original projection. What I noticed is that as I do this, my extent keeps growing in size through each conversion. Here's my sample code to demonstrate this issue: SpatialReference spRef1 = _map1.SpatialReference;
SpatialReference spRef2 = _map2.SpatialReference;
Geometry extent1 = MyMapView.Extent;
System.Console.WriteLine("extent1:" + extent1);
Geometry extent2 = GeometryEngine.Project(extent1, spRef2);
System.Console.WriteLine("extent2:" + extent2);
Geometry extent3 = GeometryEngine.Project(extent2, spRef1);
System.Console.WriteLine("extent3:" + extent3);
Geometry extent4 = GeometryEngine.Project(extent3, spRef2);
System.Console.WriteLine("extent4:" + extent4); I took the map extent and project it back and forth between the projection. Here's e output result: extent1:Envelope[XMin=-13657052.8897704, YMin=5704031.99454925, XMax=-13654690.3535498, YMax=5705394.14433894, Wkid=102100] extent2:Envelope[XMin=7642556.79710776, YMin=683718.917830887, XMax=7648078.00265341, YMax=686989.703265818, Wkid=2913] extent3:Envelope[XMin=-13657089.5657256, YMin=5703968.27772793, XMax=-13654654.0392246, YMax=5705457.8619931, Wkid=102100] extent4:Envelope[XMin=7642468.43306019, YMin=683570.513830889, XMax=7648165.48222178, YMax=687138.129620944, Wkid=2913] If projection works as expected, I would expect extent1 = extent3, and extent2 = extent4, but as you can see that is not the case. Is there something I am missing in my understanding on how the GeometryEngine.Project() function works?
... View more
08-14-2015
06:10 AM
|
1
|
7
|
3825
|
Title | Kudos | Posted |
---|---|---|
1 | 10-08-2015 09:13 AM | |
1 | 04-14-2015 11:55 PM | |
1 | 02-09-2016 08:03 AM | |
2 | 08-23-2016 05:59 AM | |
1 | 08-19-2016 06:59 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|