POST
|
Currently moving from Runtime 10.1.1 to 100.1 ... 10.1.1 Code to load Rest Basemap was... Dim NewTiledLayer As New ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer() With NewTiledLayer .Url = "https://mapgenie.osi.ie/arcgis/rest/services/WM/basemap_premium/MapServer " .Token = "abcdefghigh123456789" End With MyMap.Layers.Add(NewTiledLayer) What is the equivalent code in 100.1 ?
... View more
11-30-2017
10:14 AM
|
0
|
1
|
630
|
POST
|
Currently trying to 'upgrade' from 10.1 to 100.1 - some surprising missing functionality... a) Mouse Over graphics event has been omitted in 100.1. MouseOver is a fundamental expectation in user functionality and it is difficult to understand how a decision was made to omit this from 100.1 which is intended to be an upgrade from the original 'basic' model 10.1. A workaround has been suggested on the Forum to detect for Mouse stopped moving through various timer techniques. b) We used Animated Strobe Symbols very effectively in 10.1 to highlight selected Symbols via XAML Storyboard and MarkerSymbol.ControlTemplate. We see on Forum that ControlTemplate has been omitted in 100.1 and therefore Animated Symbol feature not possible. As this was a very important feature for our application, we experimented to find a workaround - this technique works surprisingly well and it is not possible to detect the difference from the original Animated Symbol.. a) Generate the Animated Symbol within a WPF User Control b) When Graphic is selected via GeoViewTapped or code selection, detect Coordinates of Graphic - Convert to Screen Coordinates - position WPF User Control on the screen point - this is effectively sitting on top of the MapView. c) On ViewPointChanged - read the Selected Graphic screen coordinates and re-position the WPF UserControl to follow it.
... View more
09-15-2017
11:45 AM
|
0
|
1
|
492
|
POST
|
Our Runtime WPF 10.1 application was designed to display TPK layers of polygons and line features - some of which have thematic symbols. The design held paralell MPK files with the same polygons and lines - these were not displayed on the map as they generated very slowly due to the multiple polygons (thousands) and multiple vertices (hundreds) in each polygon. When the user clicked on on the Tiled Layer, the 10.1 IdentifyTask queried the MPK file and retrieved the single polygon or line feature and information and displayed the feature as a graphic on the graphics layer. We have now identified how to use IdentifyLayerAsync in 100.1 to query the MPK on the GeoTapped Event - our initial error was that we expected the IdentifyLayerAsync to return the polgons/lines as Results.GeoElements - this was not correct - the polygons/lines are returned under the Results.SublayerResults.GeoElements. This is the case even if there is only 1 Layer in the MPK file. The problem with the 100.1 approach is that the MPK layers must be visible to the user to allow the IdentifyLayerAsync to query them. The 10.1 IdentifyTask operated on the MPK files in the background. Can you advise if it is possible to query the MPK files in 100.1 without the need to make these visible? Or do we need to redesign the architecture to accommodate an alternative 100.1 technique?
... View more
08-28-2017
09:27 AM
|
0
|
0
|
481
|
POST
|
Currently trying to 'upgrade' from the original of the species 10.1 to .NET but experiencing gaps. Bing Maps have stopped working in 10.1 due to Microsoft change from Soap to Rest. Is there any technique to access Bing Maps in 10.1 ? Looks Like Bing also not working in 10.2.7 ?
... View more
08-28-2017
09:21 AM
|
0
|
1
|
458
|
POST
|
Our Runtime WPF 10.1 application was designed to display TPK layers of polygons and line features - some of which have thematic symbols. The design held paralell MPK files with the same polygons and lines - these were not displayed on the map as they generated very slowly due to the multiple polygons (thousands) and multiple vertices (hundreds) in each polygon. When the user clicked on on the Tiled Layer, the 10.1 IdentifyTask queried the MPK file and retrieved the single polygon or line feature and information and displayed the feature as a graphic on the graphics layer. We have now identified how to use IdentifyLayerAsync in 100.1 to query the MPK on the GeoTapped Event - our initial error was that we expected the IdentifyLayerAsync to return the polgons/lines as Results.GeoElements - this was not correct - the polygons/lines are returned under the Results.SublayerResults.GeoElements. This is the case even if there is only 1 Layer in the MPK file. The problem with the 100.1 approach is that the MPK layers must be visible to the user to allow the IdentifyLayerAsync to query them. The 10.1 IdentifyTask operated on the MPK files in the background. Can you advise if it is possible to query the MPK files in 100.1 without the need to make these visible? Or do we need to redesign the architecture to accommodate an alternative 100.1 technique?
... View more
08-26-2017
01:27 PM
|
0
|
0
|
481
|
POST
|
Trying to upgrade from Runtime WPF 10.1 to NET 100.1.0 - original code to query local .MPK file used mouse click point in IdentifyParameters - Executed IdentifyTask with the results Graphic picked up on ExecuteCompleted and displayed on Graphics Layer Cannot find any example of this in 100.1 - how can this be done in 100.1 ?? #MicroWorks
... View more
08-25-2017
12:58 PM
|
0
|
3
|
734
|
POST
|
We posted the "WebMarshal and Runtime" thread just before yours. Yes we also experience patchy tiling - at times - and at other times it tiles fully. We have ESRI World Street Map and World Grey and both display this problem. We also have Bing 3 Layers - these are much faster and rarely if ever go patchy. However, once we install on PC that goes through WebMarshal - both ESRI and Bing slow down appreciably - patchy tiling on both - sometimes total freeze. This is just simple tiling actions - no queries/ searches/ routing etc.
... View more
06-14-2013
06:50 AM
|
0
|
0
|
202
|
POST
|
We have developed a Winforms App with WPF Runtime User Control. App provides options to add ESRI Street Map and 3 Bing Maps as Base Map Layer in code. All works well on PCs with direct internet access - problems arise when running on PCs that have WebMarshal as proxy. Not a PC issue as the problem is similar on a few test PCS on 2 different sites. Not a Proxy bypass problem - all required URL have been identified and added to proxy bypass rules. Base Layers load well on 'normal' PCs but speed is very vaiable on the WebProxy PCs. Occasionaly loading speed is fine- sometimes stalls for minutes - sometimes needs exit and restart app. Checked Log file - nothing obvious there other than the following WARN logs which do not seem to cause a speed delay 15:26:55,513 INFO rid=48 'worker-1200' MapServerObject - Creating 15:26:57,560 WARN rid=48 'worker-1200' Core - MapServer.Construct (code=10823): IsCached property not found. 15:26:57,560 WARN rid=48 'worker-1200' Core - MapServer.Construct (code=10824): CacheOnDemand property not found. 15:26:57,560 WARN rid=48 'worker-1200' Core - MapServer.Construct (code=10825): IgnoreCache property not found. 15:26:57,560 WARN rid=48 'worker-1200' Core - MapServer.Construct (code=10826): ClientCachingAllowed property not found Any help appreciated
... View more
06-12-2013
08:58 AM
|
0
|
0
|
485
|
POST
|
This happens when layers are added to the Map in code. To fix - read the Extent pre Move and reset post Move - e.g Dim myEnvelope As New ESRI.ArcGIS.Client.Geometry.Envelope myEnvelope = myMap.Extent myMap.Layers.Move(3, 2) myMap.Extent = myEnvelope
... View more
11-15-2012
11:37 PM
|
0
|
0
|
86
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|