|
POST
|
What's the easiest way to set the height/width of a on screen widget? Is it suppose to work via config or do I need to alter in CSS or JavaScript? I thought it would be in the config or manifest like this below, but it doesn't seem to be working for me. "properties": { "inPanel": true, "hasLocale": true, "hasStyle": true, "hasConfig": true, "hasUIFile": true, "hasSettingPage": false, "hasSettingUIFile": false, "hasSettingLocale": false, "hasSettingStyle": false, "IsController": false, "openAtStart": true, "positionRelativeTo": "map", "position": { "left": 0, "top": 0, "right": 0, "bottom": 30, "width": 400, "height": 650 },"openAtStart": true }
... View more
12-03-2014
12:17 PM
|
0
|
9
|
3728
|
|
POST
|
A colleague of mine upgraded his Visual Studio 2013 to Update 4 and now gets the error below thrown from the ArcGIS Runtime Toolkit for .Net. Others on the team, including myself do not get this error staying at VS Update 3. We also tested on another VM with update 4 and same error occurs, so we are guessing its something related to Update 4. Anyone get this issue? Or have any suggestions? Besides reverting to Update 3, he already tried and cannot seem to do that. Error is thrown in ScaleLines.cs GetMile method. Inner Exception: {"Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"} System.TypeLoadException {"Requested Windows Runtime type 'RuntimeCoreNet.CoreUnit' is not registered.":"RuntimeCoreNet.CoreUnit"} Stack Trace at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD) at RuntimeCoreNet.CoreUnit.Create(Int32 id) at Esri.ArcGISRuntime.Geometry.Unit.TryCreate(Int32 id) at Esri.ArcGISRuntime.Geometry.Unit.Create(Int32 id) at Esri.ArcGISRuntime.Geometry.LinearUnits.get_Inches() at Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine.GetMile() at Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine.Refresh() at Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine.OnScalePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
... View more
12-03-2014
07:05 AM
|
0
|
4
|
4758
|
|
POST
|
Is the issue here that the MapView object has to be newly created in xaml on every page load or else it freezes? I have tried to deal with this in code behind because I am actually tying to hold on to my own custom control which in turn contains the MapView and Map objects. Therefore I am doing something like this below, but it still freezes on second attempted view. //when leaving page null MapView this.MyMapView = null; this.PreviousExtent = this.MyMapView.Extent; //when entering page create new MapView on Custom Control and assign existing map and previous extent this.MyMapView = new MapView(); this.MyMap.InitialViewpoint = new Viewpoint(this.PreviousExtent); this.MyMapView.Map = this.MyMap; Any other suggestions? Thanks Simon
... View more
11-06-2014
11:31 AM
|
0
|
8
|
3426
|
|
POST
|
I have to agree with you, I would like to do the same, in fact I think the WAB team should strongly consider making the "Filter by map extent" on by default.
... View more
10-29-2014
12:47 PM
|
1
|
0
|
629
|
|
POST
|
Agreed, hanging onto the control and reusing is not a common or best practices approach, but it seems to work very well for us in our particular scenario, especially for performance. I'll see how it performs with the suggested changes and let you know, but if its not a difficult change on your end to fix it would definitely be appreciated in a future release. Thanks again, Simon
... View more
10-29-2014
06:15 AM
|
0
|
0
|
3426
|
|
POST
|
Thanks, I'll play around with your suggested workaround. Unfortunately this will result in a lot of extra coding and possibly affect performance. Do you think its likely this could be fixed in a future release? Also, please let me know if you think of any other workarounds I could try. Thanks again, Simon
... View more
10-28-2014
10:09 AM
|
0
|
11
|
3426
|
|
POST
|
In our Windows Store App (not a map centric app) we use the same map (and map control) on several different pages within the application. This was done for several reasons, including performance, keeping the map state etc. and originally dealing with a memory leak in the map control when loading/unloading/recreating. We do this by creating one generic map control and keeping it in the application wide state and reusing when necessary. We create the control and initialize it once and then add/remove the control to the xaml tree when navigating to/from a page that requires a map something like this; ContentGrid.Children.Add(App.ArcGISMapCtrl); //ContentGrid is a xaml grid and for removing; ContentGrid.Children.Remove(App.ArcGISMapCtrl); This has been working great for us during all the Beta releases but in this Final release we now get the following behavior; The first time a page is loaded and we create the map everything works fine and as expected. Any subsequent navigation to the same page or any other page with a map the page loads fine but the map control is frozen. Everything else works on the page except the map, is just hung or something. I can see it, but it is not allowing any interaction. I can get the map working on all page loads if I re-create the Map control on every page navigation but this kind of defeats the point since everything has to be re-initialized, as well the maps state is lost and would have to be saved/reloaded each time. The reusing of the map control has been working great for us as users only see some lag in the first map load, but after that maps are always ready right away and in the same state they left. Was something major changed in the Final release that might affect this? Any suggestions on what I could try differently? Thanks, Simon
... View more
10-27-2014
09:06 AM
|
0
|
16
|
12095
|
|
POST
|
I want to run some custom JavaScript after the web app has finished loading (ie. map, toolbar are fully loaded). Is there any event I can subscribe to or something to hook in to be notified that the web app is done loading. I am looking for something at the app level, not tied to a custom widgets startup. Thanks Simon
... View more
10-23-2014
09:14 AM
|
0
|
0
|
971
|
|
POST
|
I'm also seeing this same timeout issue on most of the queries I build. I'm using AGS 10.2 services. It might be that an index is required on any field used in the query. The only query that works for me is one on a field that definitely has an index, so try adding an index.
... View more
10-23-2014
07:30 AM
|
2
|
1
|
1189
|
|
POST
|
In the Query widget why is an existing Value still required when checking the "Ask for values" box. If I'm obviously asking the user to enter a value why do I still need to enter a default value. Can this be changed for release?
... View more
10-23-2014
07:17 AM
|
0
|
2
|
2651
|
|
BLOG
|
Was there a reason why the External GPS Sample was not done for Windows Store? Is there limitations there? Thanks Simon
... View more
10-09-2014
06:11 AM
|
0
|
0
|
987
|
|
POST
|
I'm also wondering when custom widgets will be supported in release?
... View more
10-07-2014
12:10 PM
|
0
|
0
|
1181
|
|
POST
|
Are the NuGet packages going to be updated soon for the .Net SDK and Toolkit?
... View more
10-07-2014
06:53 AM
|
0
|
2
|
2473
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-29-2016 06:47 AM | |
| 1 | 12-15-2014 11:58 AM | |
| 4 | 06-24-2019 06:36 AM | |
| 1 | 10-29-2014 12:47 PM | |
| 1 | 10-07-2015 11:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-17-2024
06:34 PM
|