Tag Info

Hot answers tagged

3

There is an "Alias" property on the Field class. That should solve your issue. http://resources.arcgis.com/en/help/silverlight-api/apiref/api_start.htm?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Field~Alias.html HTH, Kiran.


1

Have you looked at the Scale Property (Map Options) class? Gets or sets the map's scale. Optional but recommended for scale-dependent layers or reference scales set. Can be determined based on PrintParameter Map/Layers. Takes precedence over Extent. Output map is drawn at requested scale centered on the center of extent.


1

As for your question "Can a routing service take polygon geometry (for stops)?" the answer is ,no, it cannot. You have to send in the points as stops (not polygons). To solve the problem of your web application not returning anything, there are different restriction that apply to a service, some of which can be modified in the route request. For example, ...


1

You need the following information about the TilingSchema: LOD's Tile origin Tile size With this information, calculate the envelope of a tile is a simple mathematical calculation. Look at the following picture: Here’s some math you can use to find any tile: Column = Floor((Point of interest X – Tile origin X) / (Resolution of Level * TileSize)) and ...


1

GIF Images are not supported by Microsoft Silverlight, which ArcGIS Explorer Online is built with. I'd suggest using a different image format like png. Check this link: http://forums.arcgis.com/threads/36424-images-in-pop-ups-are-not-shown-in-all-apis


1

What version do you have ? 10 ? 10.1 ? You can use : http://esrislcontrib.codeplex.com Example C#: private void openFileDialog_Click( object sender, RoutedEventArgs e ) { //Create the dialog allowing the user to select the "*.shp" and the "*.dbf" files OpenFileDialog ofd = new OpenFileDialog(); ofd.Multiselect = ...


1

This 10.0 ArcGIS Server / Desktop tutorial explains creating the model (tool) and publishing: http://help.arcgis.com/en/arcgisdesktop/10.0/help/#/GP_service_example_Shortest_route_on_a_street_network/002v0000001q000000/ Once you get that part done, use this sample as a starting point to construct a Silverlight application (or you could use the Silverlight ...


1

The code below is taken from the Legend With Templates sample under the Toolkit Controls section. Notice how the legend item named "states" gets removed. You could do the same thing for your raster layer, but instead of checking its label, check to see if layerItemVM.Layer is ArcGISImageServiceLayer See documentation on the is operator for more ...


1

I think that the excel file should be first converted to JSON then used as recordset parametre. like described in this question . you can convert excel file to json using the suggested scripts here.


1

In order to let the model work with the file a user has on his/her computer, you need to pass the file first to the server. You can build your own logic in Silverlight for that or use the new 10.1 Uploads functionality of the geoprocessing services. My suggestion is to extend your current model to get first an Excel file from user, process it if required, ...


1

Is the Print Service synchronous? If so try making it an async service under ArcGIS Server as it may be timing out. You can change the sync / async settings by accessing the service under the REST admin services directory. If it is already asynchronous can you post the error that is returned in the completed event handler and also the trace from the ...



Only top voted, non community-wiki answers of a minimum length are eligible