10

I believe that everything is moving in that direction, mobile browsers only support javascript/html and even in win8 javascript/html is a supported stack for metro-apps. ESRI will have to follow, and they are (arcgis online etc.) But, if your users still use older versions of IE on the desktop, right now adobe flex or silverlight is a better choice. On ...


4

I would suggest looking at the Silverlight samples in the Esri Silverlight help. One in particular, Using PointDataSource, contains the code to add points to the map that have a MapTip.


3

2048 is the default value of ArcGIS Server's MaxImageHeight/Width parameter, in the service config file. You are likely going over this! You need to reduce your image or increase the parameter value to allow the map service to serve the larger format!


3

What's the coordinate system aka spatial reference of the map? If it's 3857 / Web Mercator, these lat/lon values are probably being interpreted as xy values in meters. You may need to project the envelope or the points before creating the envelope. First, you might try assigning a geographic coordinate system to the envelope but I don't know if it will work.


3

You might also like going through a tutorial on building a network analysis service available here. What I think is really powerful with Server 10.1 release, is that you don't have to build any model for getting the task you've described above as a service. There are already GP tools available out-of-the-box with 10.1 that incorporate this logic. The ...


3

This is what a POST request to applyEdits looks like: In the headers: Content-type:application/x-www-form-urlencoded POST body: adds=%5b%7b%22geometry%22%3a%7b%22spatialReference%22%3a%7b%22wkid%22%3a102067%7d%2c%22paths%22%3a%5b%5b%5b-756462.345679012%2c-1044562.96296296%5d%2c%5b-756096.913580247%2c-1043695.0617284%5d%5d%5d%7d%2c%22attributes%22%3a%7b%...


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.


2

Expose your data using a WMS service from Mapserver. You can then consume it as a WMSlayer in the silverlight application.


2

Got it. I was using the wrong address field name. ESRI's address field for its geocoder is called "Address" While the name of my addres field is "Street". if (!string.IsNullOrEmpty(InputAddress.Text)) address.Add("Street", InputAddress.Text); //if (!string.IsNullOrEmpty(City.Text)) // address.Add("City", City.Text); ...


2

Make sure that you are using the right configuration. Maybe you (or your partner) is on a 64 bit system, but you are trying to run it on a x86 system. Then, the metadata can't be loaded. Try to select the right configuration type, then clean the solution and finally rebuild the solution.


2

I found it : <ComboBox x:Name="cmblayers" ItemsSource ="{Binding ElementName=Map, Path=Layers}" > <ComboBox.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding LayerInfo.Name}"/> </...


2

If you don't mind making a round trip to the server, and you have a 10.1 geometry service available to you, you can use the Esri Rest API Project Geometries operation. If Transformation is not specified, a search is made through a set of default GeoTransformations. Currently, the following default transformations are used when applicable: ...


2

I'd recommend you try the Proj.NET library (a Proj4 implementation for .Net) in your application and let Proj.NET do the coordinate transformations for you. It should be compatible with Silverlight by way of C#. Here's a blog post with a C# example showing implementation. I took a crack at it in a simple Windows Form app. Here's a screenshot of it.. And ...


2

You should be able to use System.Net.WebClient to send a request to a server with a url compliant with Esri's REST API. For example, to retrieve a the feature whose ObjectID=2, passing this url: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0/2?f=pjson The server returns a response that includes ...


2

I think the ArcGIS Java Script API will be the best option. As per your question Java Script API +Dojo +ArcGIS is the best option and it supports Desktop,mobile and TAB platforms. Check out the pros/Cons of Java Script API here


2

KmlLayer is alien to me, but I see it has a MapTip property same as FeatureLayer. Here's what we've got for FeatureLayers. These two lines are present in my main MapPage.xaml.cs in an event handler for the layer Initialized event. FeatureLayerInfo lyrInfo = fLayer.LayerInfo; fLayer.MapTip = CreateTipWindow(lyrInfo, fLayer.OutFields); private PopupWindow ...


2

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 explanation....


2

To get the spatial reference of the layer ,Initialized event is useful, i.e. your "mylayer _Initialized" event.Have you tried that? private void MyService_Initialized(object sender, EventArgs e) { Layer layer = sender as Layer; //get spatial reference here... }


2

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 Row = ...


2

You can limit the map extent to an envelope. The user cannot navigate outside the envelope defined in the behavior. You are supposed to define a ConstrainExtentBehavior behaviour: <esri:Map x:Name="MyMap" Extent="-120,30,-60,60"> . . . <i:Interaction.Behaviors> <esriBehaviors:ConstrainExtentBehavior ConstrainedExtent="-120,30,...


2

I'm not an expert in Silverlight, the way to fix the geometry is to simplify it. Use ITopologicalOperator5, set the isknownsimple to false and then call simplify which will return a geometry with multiple parts - in this case 3 parts.


2

Is there any particular reason not to serve the basemap with 3857 projection, such as your area of interest is at a high latitude? Almost all basemaps you can access freely on the internet is in this projection. If you have all the original data, you can publish your own image service in perhaps any projection you want. But for cached image service, it's ...


2

For apps I've been involved with, we use secured Feature Services (with the accounts used to secure the services coming from Active Directory - these are different than the accounts used to secure the ArcSDE layers in the geodatabase), in conjunction with a Proxy application, to control access to editable layers. An alternative to the Proxy application is to ...


2

My company uses bing maps API for geocoding and map tiles. It would appear the Bing API was returning 404 for requests for the past several hours. It just came back up, roughly 5 minutes ago. You may want to try again.


2

I have received some feedback from other people on the geonet forums here https://geonet.esri.com/thread/173642, and it looks like they are having the same issues on Silverlight API 3.3, so I am going to assume that ArcGIS server 10.4 is not compatible with the Silverlight API in regards to Dynamic layers and it is very unlikely that this issue will be ...


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

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 ...


1

Eventually i found a good video about advanced topics including [printing map] http://video.esri.com/watch/1203/advanced-development-with-arcgis-api-for-silverlight


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