|
POST
|
The easiest way to achieve this is likely to do it out of the legend control. For your 2 layers, subscribe to the event PropertyChanged and if the property 'Visible' changed, change the visibility of the other layer accordingly.
... View more
04-08-2013
02:49 AM
|
0
|
0
|
1077
|
|
POST
|
I want to zoom to the full extent of all the layers that I have currently loaded. You can get the full extent af all layers by code like MyMap.Layers.GetFullExtent() This is working well if all of your layers use the same spatial reference. If some layers are not in the same spatial reference as the map you will have to project the layer extents and to union them by code.
... View more
04-05-2013
03:33 AM
|
0
|
0
|
3085
|
|
POST
|
Hi Rick, Thanks for the URL. It seems the issue is not tied to the legend. The legend reflects the symbol used by the feature service. If you look at the drawing section of your feature service: "drawingInfo" : {"renderer" :
{
"type" : "uniqueValue",
"field1" : "Location",
"field2" : null,
"field3" : null,
"fieldDelimiter" : ", ",
"defaultSymbol" : null,
"defaultLabel" : "\u003call other values\u003e",
"uniqueValueInfos" : [
{
"value" : "65",
"label" : "65",
"description" : "",
"symbol" :
{
"type" : "esriSFS",
"style" : "esriSFSSolid",
"color" : null,
"outline" :
{
"type" : "esriSLS",
"style" : "esriSLSSolid",
"color" : [
0,
0,
0,
255
],
"width" : 0
}
}
},
{
"value" : "Allowable",
"label" : "Allowable High Rise Location",
"description" : "",
"symbol" :
{
"type" : "esriPFS",
"url" : "4B71B01F",
"imageData" : "iVBORw0KGgoAAAANSUhEUgAAAE0AAABUCAYAAADH0LrjAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAbRJREFUeJzt1UFKxEAQRuEIDX2GnGFurtcxXqF32ffKWejGpANdzwoovH8ZMp8yUPPK4sIry7J8gs+9XDwPWbXWj9774/h8XddHa+09w7rDK8v1F0AWsnrvw+ettS3LusMrEch9bXSeKad3ZWWeCrESvLfIeaacceapECvD8zzBrCfwrCfwPE8w6xn3rCfxPE8w6wk86wk8zxPMesY960k8zxPMegLPegLP8wSznnHPehLP8wSznsCznsDzPMGsZ9yznsTzPMGsJ/CsJ/A8TzDrGfesJ/E8TzDrCTzrCbyyruuPb/P7D5x2fG9mIyvLodZvvdbaVvZ9fz08H35w8N7MTlZrbau1Dv/pq9Val9GpECvB28rV3R43+95/tma903nOLOtc7v4puMsbnefMUk448+yurDu86fOc2V+1sj3rGfSsJ/OsJ/GsJ/CsJ/CsJ5j1DHrWk3nWk3jWE3jWE3jWE8x6Bj3ryTzrSTzrCTzrCTzrCWY9g571ZJ71JJ71BJ71BJ71BLOeQc96Ms96Es96As96As96glnPoGc9mWc9iWc9gWc9gWc9waxn0LOezLOexHsCz3NnwUrBmxoAAAAASUVORK5CYII=",
"contentType" : "image/png",
"color" : null,
"outline" :
{
"type" : "esriSLS",
"style" : "esriSLSSolid",
"color" : [
0,
0,
0,
255
],
"width" : 2
},
"width" : 57.75,
"height" : 63,
"angle" : 0,
"xoffset" : 0,
"yoffset" : 0,
"xscale" : 1,
"yscale" : 1
}
},
{
"value" : "Existing",
"label" : "Existing Built Height",
"description" : "",
"symbol" :
{
"type" : "esriSFS",
"style" : "esriSFSSolid",
"color" : [
0,
0,
0,
255
],
"outline" :
{
"type" : "esriSLS",
"style" : "esriSLSSolid",
"color" : [
0,
0,
0,
255
],
"width" : 0.4
}
}
},
{
"value" : "Mid-Block",
"label" : "Mid-Block Breaking Height",
"description" : "",
"symbol" :
{
"type" : "esriPFS",
"url" : "CF718212",
"imageData" : "iVBORw0KGgoAAAANSUhEUgAAAEgAAABACAYAAAC5vjEqAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAT9JREFUeJzt1rGtg0AQRdEXTAOUsZ1tRkwFxGTEFPUpgxJwBFpjWS9w8EfaOxHmLInF2DfO8zzVTK1V67rq2/Tm0cLzuj3Yq0cLzwda69XjCc/D317JXjw+hHmbkHLtfDaP9lXLsPPZPJ6H/3vnszm/QWboION0kHE6iA76begg43SQcTrIOL9BZugg43SQcTqIDvpt6CDjdJBxOsj4/QUdx6Hn9TAMH/d687g+TNOkUopKKdq2Tfu+a57n+6FePVoYx/F+YFmW+2DPHpLe4JrrXq21aw8p185n88i289k8rlcpy85n8/tvPsvOZ3M6yDgdZJwOooPoIDqIDkrsdJBxOsg4HWScDqKD6CA6iA5K7HSQcTrIOB1knA6ig+ggOogOSux0kHE6yDgdZJwOooPoIDqIDkrsIelPyrPz2fwFomI/sSM9WkQAAAAASUVORK5CYII=",
"contentType" : "image/png",
"color" : null,
"outline" :
{
"type" : "esriSLS",
"style" : "esriSLSSolid",
"color" : [
156,
156,
156,
255
],
"width" : 0.4
},
"width" : 54,
"height" : 48,
"angle" : 0,
"xoffset" : 0,
"yoffset" : 0,
"xscale" : 1,
"yscale" : 1
}
}
]
},
"transparency" : 0,
"labelingInfo" : null}, you'll notice that 'Allowable' and 'Mid Block' are correctly assigned to a PictureFillSymbol while others are just Black Fill Symbol. It might happen that some of your arcmap symbols have been downgraded while publishing the feature map service. Comparing the working and non working symbols in Arcmap might give you a clue about the problem origin. Else it's worth posting that question on server forum in order to get better answer about the downgraded symbols for feature services.
... View more
04-05-2013
02:53 AM
|
0
|
0
|
1084
|
|
POST
|
Thanks for reporting that issue, you'll try to get it fixed as soon as possible.
... View more
04-05-2013
01:46 AM
|
0
|
0
|
649
|
|
POST
|
If you are talking about the full extent of a layer, you can look at this legend sample, the 'ZoomToFullExtent' method is wired up the Layer.Initialized event and zoom to the full extent of that layer once the map spatial reference is known. A geometry service may be used to project the layer full extent to the map spatial reference.
... View more
04-04-2013
12:02 AM
|
0
|
0
|
3085
|
|
POST
|
Hi Rick, Could you share a public service url allowing to reproduce that issue? Thanks
... View more
04-03-2013
11:55 PM
|
0
|
0
|
1084
|
|
POST
|
What should I do to set Relationship ID? When I look through Services Directory rest point at may mapservice I do not see Relationshps: at all. You need to add the tables/feature classes the relationships are based on to your map before publishing it..
... View more
04-03-2013
11:54 PM
|
0
|
0
|
1075
|
|
POST
|
A WMS layer is not a tiled layer but a dynamic layer. It means that each time the map extent changes a request is done to the WMS server in order to get a new image covering the map extent. That's the normal behavior and we can't change it. The OGC tiled layer is called WMTS (Web Map Tiling Service). It's also supported by the ArcGIS API by using a WMTS layer.
... View more
04-03-2013
10:48 AM
|
0
|
0
|
1512
|
|
POST
|
You can use the ArcGIS Portal REST API to generate features from a shapefile (http://www.arcgis.com/apidocs/rest/generate.html). There is a sample here: http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#GenerateFeatures
... View more
03-27-2013
04:23 PM
|
0
|
0
|
553
|
|
POST
|
You can use the OrderByFields property. Documentation here : http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~OrderByFields.html
... View more
03-27-2013
04:02 PM
|
0
|
0
|
673
|
|
POST
|
The sample is using Query.Text property which is a shorthand for a literal search text on the display field. If your display field is not the one you want to use for querying, you can set the where clause instead.
... View more
03-22-2013
05:04 AM
|
0
|
0
|
545
|
|
POST
|
Identify is available on MapServer and ImageServer but not on FeatureServer that doesn't support it. As the features are loaded locally, we don't need to request the server to get infos about them. Instead you can use MapTips that work locally. Samples: - http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#GraphicsMapTip - http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#MapTipWidget
... View more
03-22-2013
04:49 AM
|
0
|
0
|
1779
|
|
POST
|
Actually, IdentityTask as no 'OutFields' property since it can target multi layers with various field names. You can either limit the fields as the server side (by hiding some fields before publishing the service), or at the client side by ignoring or removing some returned fields.
... View more
03-21-2013
12:15 AM
|
0
|
0
|
459
|
|
POST
|
DemographicLink.NavigateUri = feature.Attributes["Demographics Data"] as Uri; feature.Attributes["Demographics Data"] is a string and returns null after casting to Uri. Try this instead: DemographicLink.NavigateUri = new Uri(feature.Attributes["Demographics Data"]);
... View more
03-21-2013
12:06 AM
|
0
|
0
|
651
|
|
POST
|
Two points to check: - is the geometry of the returned graphics OK? (don't forget to set the Query.ReturnGeometry flag to true, the ArcGIS server default value changed a little time ago, so that could explain your issue if your server was upgraded recently). - does your SelectedFeatureSymbol match the geometry type (point, line, polygon) of your graphics?
... View more
03-13-2013
01:55 AM
|
0
|
0
|
2380
|
| 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
|