POST
|
After thinking about this some more, it occurs to me why this is happening. When the user zooms in far enough, GraphicsLayer clips the geometry so that the symbol does not exceed 16k pixels. Since my symbol uses ImageBrush, the image will essentially stop zooming once this happens because the symbol container is no longer growing. There must be a way to setup the symbol so that the image gets positioned (and clipped?) appropriately. This is Silverlight after all! Thanks, Dan
... View more
09-13-2012
06:24 AM
|
0
|
0
|
224
|
POST
|
I think I've found a bug in the implementation of this workaround. When you zoom way into an elementlayer or graphicslayer, the UIelement seems to shift position and stop scaling. You can observe this on the interactive sample for elementlayer by zooming way in on one corner of the red rectangle. This also happens with graphicslayer and this fillsymbol template: <ControlTemplate xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Path x:Name="Element" Fill="{Binding Symbol.Fill}"/> </ControlTemplate>
... View more
09-11-2012
04:30 AM
|
0
|
0
|
224
|
POST
|
Morten, can you share a snippet of that clipping-on-the-fly solution? Thanks! Edit: nevermind, see below.
... View more
09-11-2012
04:18 AM
|
0
|
0
|
224
|
POST
|
We need to display large rasters on the map with lots of fine detail that needs to be viewed up close. We have tried using ElementLayer and GraphicsLayer (with an imagebrush fillsymbol). Both approaches work fine at high scale, but both exhibit the same bug, that whenever you zoom in far enough, the translation and scale of the UIElement shifts suddenly. This behavior can be observed even on the interactive sample for ElementLayer. If you zoom in on one corner of the red rectangle far enough (in Africa), eventually it will move into the wrong position. Surely this has been identified before; I just wonder if there are any workarounds available or fixes planned? Update: found the existing thread, sorry to duplicate post!
... View more
09-11-2012
04:07 AM
|
0
|
0
|
481
|
POST
|
Unfortunately neither of those quite accomplish what I need. OnDemandCacheSize=0 simply limits the number of graphicslayer-cached graphics that are off-screen. DisableClientCaching=true just prevents the browser from caching http responses. Despite setting both of those I still see the query request having a '&WHERE=OBJECTID NOT IN (...)' parameter. I need to prevent the excludeCachedFeaturesFromQuery() routine from executing within the FeatureLayer.Update() method. It seems that currently this is impossible with OnDemand as the query mode. Can this be a feature in a future release perhaps?
... View more
06-07-2012
10:23 AM
|
0
|
0
|
480
|
POST
|
I want the extent-driven query that OnDemand mode gives you, but without the caching. Is there a way to have both?
... View more
06-07-2012
09:32 AM
|
0
|
0
|
480
|
POST
|
Thanks for the reply Jennifer. I'm not sure I follow what you mean. How do I detect a change on the server? Also, I am calling Update() every 30 seconds, but the query includes a WHERE clause that excludes the OBJECTID's of graphics currently in the client. So no changes to those graphics are detected. I was wondering if there is a way to disable this functionality.
... View more
06-07-2012
03:50 AM
|
0
|
0
|
480
|
POST
|
We have a feature layer with QueryMode set to OnDemand and DisableClientCaching set to true. I also call .Update() on the layer from a DispatcherTimer every 30 seconds. When multiple users edit at the same time from different browsers, A few oddities occur: 1. When user 1 edits a feature, the edits don't appear in the other users' sessions unless they re-initialize the featurelayer. I have looked into the API and see that this is by design, to prevent the geometries from loading over and over again. But is there a way to disable this feature? 2. Often times when user 1 deletes a feature, the feature will reappear and need to be deleted 1 or 2 more times before finally being deleted for good. I cannot figure out why. Any thoughts or ideas? Thanks!
... View more
06-06-2012
10:10 AM
|
0
|
7
|
2220
|
POST
|
OnDemand makes no since for a layer that isn't in a map. I'm guessing that the null reference occurs when the layer looks for the Map extent to determine the envelope parameter to pass on to the server. If you need to manage the collection size in a disconnected layer, use the Where parameter.
... View more
05-03-2012
11:54 AM
|
0
|
0
|
400
|
POST
|
Microsoft has some pretty nice out-of-the-box solutions for authentication. You can use ASP.NET's SqlMembershipProvider to store and access user information in SQL server, then use the Silverlight AuthenticationService to access Membership information within Silverlight. Here's a walk-through: http://www.silverlight.net/learn/data-networking/authentication/how-do-i-use-aspnet-authentication-in-silverlight-3
... View more
04-11-2012
06:01 AM
|
0
|
0
|
113
|
POST
|
Anybody from ESRI out there who knows about this? Is it a known bug?
... View more
02-27-2012
04:39 AM
|
0
|
0
|
132
|
POST
|
I want to protect all credentials and logins from the client, since I am using ASP.NET forms authentication sitewide to control access. Would it be possible to define a useProxy property for each layer I create instead of using the proxy for everything?
... View more
02-27-2012
04:27 AM
|
0
|
0
|
360
|
POST
|
I have an app that loads secure AGS services, and I would like to use a proxy page to protect the credentials. However, I don't want to route all the basemap tiles through my proxy too. Is there a way to selectively use a proxy page for some layers and not others?
... View more
02-24-2012
10:50 AM
|
0
|
7
|
2417
|
POST
|
You can download the source for KmlLayer here and tinker with it.
... View more
11-10-2011
07:11 AM
|
0
|
0
|
548
|
POST
|
John, I believe that the graphicslayer checks for a clusterer with each render pass, and overrides the symbols for each graphic with cluster symbols (and thus doesn't render the individual symbols for clustered graphics). Nothing is really changed on the individual graphic objects. Dominique's approach would be the least amount of custom coding, but it would involve double duty as 2 clusterers would be working in parallel doing the same work. You might see a performance hit for large feature collections. Alternatively you should be able to override the flareclusterer methods OnCreateGraphic() and ClusterGraphicsAsync() to tag each graphic with an attribute indicating that it was clustered (don't forget to reset them each time.)
... View more
11-07-2011
06:22 PM
|
0
|
0
|
392
|
Title | Kudos | Posted |
---|---|---|
1 | 06-16-2015 10:23 AM | |
2 | 09-25-2015 10:36 AM | |
1 | 06-29-2015 08:24 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|