|
POST
|
Have you thought about parallelizing your projections? Also try and reuse/cache whatever you can, like get a reference to a spatial reference, and reuse it. There's also been some big improvements, especially around how spatial references are handled, which in some cases speed up somethings up to 400x
... View more
01-17-2020
11:14 AM
|
0
|
3
|
2885
|
|
POST
|
Because the geometry classes are really just a native pointer, there's really no way to extend them, as you've found you can get at this internal core geometries (which in turn would have to be extended at the C++ level)
... View more
01-17-2020
11:12 AM
|
1
|
0
|
1236
|
|
POST
|
Could you place a second graphic with a TextSymbol next to the circle? You could set the graphic location to just be the top of the extent of the circle, and middle of the sides.
... View more
01-16-2020
02:14 PM
|
0
|
1
|
1329
|
|
POST
|
That's more of a Xamarin.Forms specific question. Did you try something like what was mentioned here? https://forums.xamarin.com/discussion/27323/how-can-i-recognize-long-press-gesture-in-xamarin-forms or https://alexdunn.org/2017/12/27/xamarin-tip-xamarin-forms-long-press-effect/
... View more
01-16-2020
02:11 PM
|
0
|
0
|
1793
|
|
POST
|
When I look at the requests using fiddler, it appears there's a server issue, as I'm getting "429 Too Many Requests". Are you seeing this too? This doesn't happen with the supported 100.x versions though, despite using the same URL. The difference appears to be that 10.2.x doesn't send a user-agent string, and OSM appears to be blocking this. I can't really see any workaround to this in 10.2.x, except building your own TiledLayer subclass, and overriding GetTileDataAsync. I would recommend looking into upgrading to 100.x, as the 10.x versions are no longer supported.
... View more
01-15-2020
11:12 AM
|
1
|
3
|
2976
|
|
POST
|
Any chance you could share a simple application that reproduces the issue? As a workaround you could try and enable a legacy-mode that disables the secondary UI thread (just note it could potentially have a small performance impact) : AppContext.SetSwitch("Switch.Esri.ArcGISRuntime.DisableSecondaryUIThread", true); Note: You'll need to use v100.7 for this switch to work (if you can't move to 100.7, at least just try it briefly just to confirm whether this is the addresses the issue, so it gives us something more to go on wrt trouble-shooting). Also this switch might or might not continue to have an effect in future releases, so providing a reproducer sample would be helpful so we can try and address any issue there might be here.
... View more
12-19-2019
04:45 PM
|
0
|
1
|
2589
|
|
POST
|
You wouldn't see an error until you try and load the KML Dataset. Ie await kmlLayer.Dataset.LoadAsync();
... View more
12-12-2019
10:14 AM
|
1
|
0
|
1270
|
|
POST
|
D'oh! Can't believe I didn't spot this. You're calling async code from C++, and that doesn't go well. Try chancing the async calls to use .Result instead to make them synchronous: bool b = MobileMapPackage.IsDirectReadSupportedAsync(m_PackageFileName).Result; Then you hit the catch code and you can see a proper error message. HOWEVER don't use .Result (or .Wait()) in production as it can create lots of dead-locks if your app is multi-threaded. You should probably switch do some sort of callback/eventing model instead.
... View more
12-06-2019
08:46 AM
|
0
|
1
|
1282
|
|
POST
|
> I really think it you ran the app I attached and stepped though the code you’d get a better idea about what’s going on. I did and identified why the load operation wasn't working (assemblies not loaded). Now that we addressed that, I can't step further because I fail (correctly) on missing the MMPK, but since that was expected behavior when I don't have that file, I can only assume something else is going on with the file itself. Make sure you enable mixed debugging (both native and managed), and monitor the output window for any hints as well.
... View more
12-05-2019
01:01 PM
|
0
|
4
|
1282
|
|
POST
|
If initialize succeeds and you see the assemblies load, that isn't the issue any longer. What exception is .NET throwing in this case? Also does it work if you do a "normal" .NET application and execute the same code?
... View more
12-05-2019
09:47 AM
|
0
|
6
|
4148
|
|
POST
|
...here's the error I get if I call Initialize() in your reproducer: Error initializing ArcGISRuntimeEnvironment. Unable to find ArcGISRuntime deployment folder. Ensure there is a folder named "arcgisruntime100.6" in the same folder as your application executable, or set ArcGISRuntimeEnvironment.InstallPath to reference an alternative location. The deployment folder must contain sub-folders matching the process architecture of your application. Then I realize it's not even deploying the native files. The quick fix is to migrate away from Packages.config: Once you do that, your app should run just fine.
... View more
12-04-2019
01:44 PM
|
0
|
11
|
4148
|
|
POST
|
Also calling ArcGISRuntimeEnvironment.Initialize() at app startup should give you a much better error. When deploying the plugin make sure the native resources (ie the ArcGISRuntime100.x folder) is located next to the executable (ie not next to the Esri.ArcGISRuntime.dll assembly). Otherwise use the InstallPath Mike is proposing.
... View more
12-04-2019
01:36 PM
|
0
|
12
|
4148
|
|
POST
|
For zoom-out you'd have to calculate the 'opposite' rectangle, which granted isn't straight-forward. Typically you'd expand around a location inside the rectangle by a certain amount relative to the size of the rectangle (a smaller rectangle would typically mean zoom out more). It's a bit of math, but not horrible, so play with a few values and see what works for you. The simplest would be just to take the current map-scale, and multiple it by the relative width between the view size and the rectangle size, and then zoom to that.
... View more
12-03-2019
05:10 PM
|
0
|
1
|
2330
|
|
POST
|
If you want to use based on a rectangle, convert the rectangle to an Envelope in map units ( MapView.LocationToScreen(...) ), and use the SetViewpointGeometryAsync(Envelope). You could also use the sketch editor to draw that rectangle, and then just pass it straight to the setviewpoint method
... View more
12-03-2019
03:24 PM
|
0
|
3
|
2330
|
|
POST
|
Could you describe a little more what the scenario is that you need this for? How would you expect this to look like, and when should it fire?
... View more
12-03-2019
01:34 PM
|
0
|
0
|
1347
|
| 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 |
4 weeks ago
|