|
POST
|
Does anyone know how the Visual Studios Designer Interface is handling the layer display as shown in the attached picture? Are they using the ArcGISDynamicMapServiceLayer to access the layer image even though the selected layer type is FeatureLayer? Yes the service explorer used at design time displays the feature layers using an ArcGISDynamicMapServiceLayer since we don't need to access individual features.
... View more
01-04-2013
09:53 AM
|
0
|
0
|
1646
|
|
POST
|
That doesn't make sense to me. If I want a buffer of N kms around X features, I want the results to also contain features outside of those X features but within the buffer distance. In other words, the results should have X or more features. The Buffer geometry service returns one buffer polygon by input geometry. Each input geometry is buffered at the specified distance and the buffer polygon is returned as output. Note that there is also an option to get only one output geometry that is the union of all buffers. But in no case the result has more features than the input.
... View more
01-04-2013
09:46 AM
|
0
|
0
|
2518
|
|
POST
|
If you only need to display the features you can use an ArcGISDynamicMapServiceLayer that is not impacted by the max records setting since it's just returning an image. With a feature layer, one option is to use the 'OnDemand' mode so the features will be loaded using the current map extent as filter. However if you zoom out, you can't be sure that all features are loaded. To get all features programmatically, you can't overcome the max records parameter. So you wont be able to get all features with one request only. The workaround may be to execute multiple queries with different where clauses allowing to get all features at the end. For example using a query by state (or another app field) if you know that the number of features by state is not greater than the max or ,more generic, using the objectID (sorting by object ID and each query having a where clause to return objectID > objectid of last graphic returned).
... View more
01-04-2013
09:02 AM
|
0
|
0
|
1646
|
|
POST
|
You can't directly use the layer as input of a geometry service but most of the geometry service accepts a list of feature as input parameter (ex BufferParameter.Features) so setting the input with all graphicsLayer.Graphics is just a particular case. Though note that the graphics returned by the service don't include the attributes. However the returned graphics are always in the same order as the input graphics so you can easily retrieve the attributes from the input graphics. For the intersect service (not sure from your description if you are talking about Buffer or Intersect service), some features may not intersect the input geometry but even in this case graphics with a null geometry are returned in the output graphics so the number of output graphics is always equals to the number of input graphics.
... View more
01-04-2013
08:51 AM
|
0
|
0
|
2668
|
|
POST
|
How can I apply LineStyle (taken from the symbol's Style property) to the Path in my ControlTemplate? Could you share the SimpleLineSymbol default ControlTemplate? You need to set the Path.StrokeDashArray property depending on the expected style. Here is a sample for the dash style: <ControlTemplate>
<Path x:Name="Element"
Stroke="{Binding Symbol.Color}"
StrokeThickness="{Binding Symbol.Width}"
StrokeDashCap="Flat"
StrokeStartLineCap="Flat"
StrokeEndLineCap="Flat"
StrokeLineJoin="Round"
StrokeDashArray="5,1" />
</ControlTemplate>
... View more
01-04-2013
08:04 AM
|
0
|
0
|
779
|
|
POST
|
There is a limitation in the number of features that can be returned by a query. This maximum number can be set at the server side but will still be there if you have a huge number of features to load. Anyway as you noticed, after loading a huge number of features, you may run into performance issues. One possible approach is to set 2 layers with disjoint resolution scales: one dynamic layer at small scale in order to be able to see all features as image, and one feature layer at large scale in order to load the features only at these scales. In this case you have to set the Mode of the feature layer to 'OnDemand' in order to reexecute a query after each extent change.
... View more
01-04-2013
07:23 AM
|
0
|
0
|
3348
|
|
POST
|
Looks like there is an issue with the 'Map.PanTo' method. Thanks for reporting that. Until it's fixed, the workaround may be to use 'ZoomTo' instead of 'PanTo'.
... View more
01-04-2013
06:54 AM
|
0
|
0
|
502
|
|
POST
|
In your second screenshot it seems the SignInDialog is called with an empty or null Url. Did your set the Url property correctly by code? For the 'Security Error', I have no clue, perhaps using fiddler to look at requests sent to the server might help.
... View more
01-04-2013
04:32 AM
|
0
|
0
|
1383
|
|
POST
|
string mapURL = http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=nexrad-n0r,nexrad-n0r-900913,nexrad-n0r-900913-m05m,nexrad-n0r-900913-m10m,nexrad-n0r-900913-m15m,nexrad-n0r-900913-m20m,nexrad-n0r-900913-m25m,nexrad-n0r-900913-m30m,nexrad-n0r-900913-m35m,nexrad-n0r-900913-m40m,nexrad-n0r-900913-m45m,nexrad-n0r-900913-m50m,nexrad-n0r-m05m,nexrad-n0r-m10m,nexrad-n0r-m15m,nexrad-n0r-m20m,nexrad-n0r-m25m,nexrad-n0r-m30m,nexrad-n0r-m35m,nexrad-n0r-m40m,nexrad-n0r-m45m,nexrad-n0r-m50m&STYLES=&SRS=EPSG:4326&BBOX=-126,24,-66,50&WIDTH=600&HEIGHT=350&TRANSPARENT=TRUE&FORMAT=image/png; Your BBOX parameter is defined statically whatever the expected extent. So you will always get the same image which will be stretched to the expected extent (if the right image extent is returned by the OnComplete callback). It would be better to set dynamically the bbox depending on the extent. Sidenote: the toolkit provides a WMSLayer class which is doing that job.
... View more
01-04-2013
04:22 AM
|
0
|
0
|
1904
|
|
POST
|
different spatial reference To change the Spatialreference of a map, you have first to clear all the layers and to set the map extent to null before adding your new layers. I also recommend you to instantiate a new layer each time you change the URL instead of reusing the same one.
... View more
01-04-2013
04:11 AM
|
0
|
0
|
1500
|
|
POST
|
<actions:ToggleVisibilityAction TargetName="MainPage.MyBaseMaps" /> I am not sure the parameter I set for the TargetName is correct. TargetName must be a name declared in the same xaml file. In this case, your code should be : <actions:ToggleVisibilityAction TargetName="MyBaseMaps" /> AFAIK there is no way to reference a name declared in another xaml file.
... View more
01-04-2013
04:09 AM
|
0
|
0
|
1812
|
|
POST
|
Thanks for reporting this issue, we'll try to get it fixed in a future version.
... View more
01-04-2013
03:59 AM
|
0
|
0
|
1109
|
|
POST
|
Could you share an Url allowing to reproduce the issue?
... View more
01-04-2013
03:57 AM
|
0
|
0
|
1860
|
|
POST
|
Is there a way to add a graphic Layer and programmetrically adding a map tip to the grahic layer. Sure. You can look at this sample http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#AddGraphics that demonstrates how to add graphics by code. Then you can look at these samples (http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#WebMapFeatureServicePopups and http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#WebMapKML) that create maptip by code;
... View more
01-04-2013
03:47 AM
|
0
|
0
|
559
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-12-2025 03:01 AM | |
| 1 | 10-14-2025 09:24 AM | |
| 1 | 06-13-2013 09:22 AM | |
| 1 | 04-29-2022 02:21 AM | |
| 1 | 04-29-2022 02:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|