|
POST
|
To convert polygon to polyline, just move the rings over to the paths:
Polyline line = new Polyline();
foreach(var ring in myPolygon.Rings)
line.Paths.Add(ring);
... View more
11-29-2010
12:04 PM
|
0
|
0
|
833
|
|
POST
|
I think that before you start working with the ESRI API, that you first get to know Silverilght. My experience is that that is the hardest part. Once you know Silverlight, the ESRI API shouldn't be that difficult: http://www.silverlight.net/getstarted/
... View more
11-29-2010
11:00 AM
|
0
|
0
|
1197
|
|
POST
|
Setting the symbol to null doesn't change the attributes of the graphic, so I'm not sure why you think that would make it lose its "text" (I assume this is stored in the attribute). You could also as you mention move the graphic out of the layer. There's no need to put it in a layer that is turned off though. A private list of "hidden" graphics should do the job.
... View more
11-24-2010
09:52 AM
|
0
|
0
|
3916
|
|
POST
|
Yeah polygon buffering is quite a bit more complex to do 🙂
... View more
11-23-2010
12:48 PM
|
0
|
0
|
1365
|
|
POST
|
VisibleLayers = null just means "show default layers" (it's null because you didn't set it yet). Legend is smart enough to know what layers are default and checks those on in the legend.
... View more
11-23-2010
12:36 PM
|
0
|
0
|
423
|
|
POST
|
NetworkLink support is there and should work (PreLeo: Please share some details), however autorefresh will not be part of v2.1 (perhaps in the future). ScreenOverlay: Not currently possible with a GraphicsLayer (which the KML layer essentially is). GroundOverlay & TimeStamps: It's on our list of possible future enhancements (post v2.1). I'm not sure how you see Document and Folder hiarchy working on a graphicslayer. Could you share what you need this for / indend on using it? Shortly after v2.1 releases, we will release the source code for the KML layer, so it's also an option to make those tweaks yourself.
... View more
11-23-2010
11:01 AM
|
0
|
0
|
813
|
|
POST
|
Just to be clear: The Client APIs does not support working with Shapefiles. You will need to publish your data to ArcGIS Server first. After that, it doesn't' really matter how the data is stored as long as it is server out using ArcGIS Server. When you are at that point, you will be using a FeatureLayer as Jennifer was getting at.
... View more
11-23-2010
10:51 AM
|
0
|
0
|
1841
|
|
POST
|
FeatureLayer only works with a feature service, so URL is required. If you don't want to work with a featureservice, use the GraphicsLayer. You can define a maptip as a separate usercontrol and just reference that on the featurelayer or graphicslayer: <esri:FeatureLayer.MapTip> <local:MyMapTipUserControl /> </esri:FeatureLayer.MapTip>
... View more
11-22-2010
10:05 AM
|
0
|
0
|
699
|
|
POST
|
If you are using a v10 locator service, you can set the OutSpatialReference parameter to Map.SpatialReference to get the result in the spatial reference of the map. Alternatively, you can use (new ESRI.ArcGIS.Client.Projection.WebMercator()).FromGeographic(myPoint) to project to webmercator without the need of roundtripping to the server.
... View more
11-22-2010
10:03 AM
|
0
|
0
|
1207
|
|
POST
|
Just an idea: If you just need to do buffer on a point, a little bit of trigonometry using Cosine and Sine would get you going all on the client side, so you don't need a service
... View more
11-22-2010
09:56 AM
|
0
|
0
|
1365
|
|
POST
|
I suggest setting the layer mode to "OnDemand" and set a maximum resolution so you only see the counties when you zoom in to roughly state-level. That way all features should display and you will get reasonable rendering performance. Rendering all US counties at the same time on the client will bog down the UI thread. If you need to see the counties at country level, use a dynamic map service and set the minimum resolution of that layer to the same as the maximum resolution of the feature layer. That way the layer will automatically switch over to client side rendered features when you zoom in a bit and you will be able to "interact" with them (ie maptips etc).
... View more
11-22-2010
09:53 AM
|
0
|
0
|
638
|
|
POST
|
This is a limitation on the server where there's a limit to the number of NOT INs you can can have (well technically a limitation in the geodatabase), and therefore the client will limit the amount of object ids to send. We do not recommend using OnDemand mode and Clustering together. They are there to solve the same problem in two different ways. Clustering should only be used with SnapShot mode where you would get a predictable behavior.
... View more
11-22-2010
09:44 AM
|
0
|
0
|
1650
|
|
POST
|
Regarding (1) is this happening when you do 2 or more quick flicks? (this issue has been fixed). (2)/(4) is also improved since the RC.
... View more
11-17-2010
01:25 PM
|
0
|
0
|
1011
|
|
POST
|
Note that you only get maptips on GraphicsLayer and FeatureLayer.
... View more
11-17-2010
01:22 PM
|
0
|
0
|
569
|
| 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
|