Tag Info

Hot answers tagged

5

I think you're looking for the SnapToLevels property of the Map control. SnapToLevels is off by default and will allow you to zoom to any ESRI.ArcGIS.Client.Map.Resolution. Tiled layers will automatically interpolate images when displaying layers at resolutions in between levels. ...


5

Have you not heard? HTML6 is the latest greatest thing. Why arent you developing in that? - Moral here is its like buying a new computer. You can always wait for the next best thing, but theres always something better around the corner. (see comments in that post as well). I also like James Fee summary of Q&A question for UC2011, which is kind of ...


4

You are basically looking for an equivalent to IArea.LabelPoint in ArcObjects. The Silverlight API does not have support for this directly, but you can leverage the REST API GeometryService to do that. See Label Points. The downside of using the geometry service is that you need to send a separate request to the server, which may (or may not) be an issue in ...


4

Have you checked out the Legend in the Toolkit? See sample here: Legend with templates


4

I am not at all convinced that Silverlight is dead. Yes, MS talked about HTML5 and javascript and NOT SL in their windows 8 preview but in reality for LOB apps I think Silverlight provides what the other technologies can not. But maybe thats just me. Some other facts- there is the rumour that there is an agreement between Apple and MS for Apple to support ...


4

I am a big fan of SQL Server Reporting Services (free with SQL Server 2008) and personally prefer it over Crystal. Although there is no native support for it with ArcGIS (although promote the idea here) I have seen some people integrate the two using Query Layers with v10. This forum post has more details and a video, and also some info on how to grab a ...


4

You can use Firebug for Firefox, Chrome Developer Tools, or Fiddler. Firebug will be the easiest if you already have Firefox. Download and install Firebug, restart your browser, then open the Silverlight application. Press F12 to open firebug, go to the Net tab and enable it, then refresh the page. When the map is completely loaded, in the firebug ...


3

REST services are simply stateless http request/response web services, there are no problems at all to call them from WCF. in fact when you use ESRI web APIs (all of them: Javascript, Silverlight, etc.) they simply hide you the http request building process. In fact when you access an ArcGIS Server REST service from the web interface you can send any REST ...


3

The rumors about Silverlight's premature death have already been thoroughly addressed and debunked. Here is an article about support for XAML (the language used to provide the front-end for Silverlight applications) in Windows 8: ...


3

I am working on a similar problem with iOS. I have come across this answer How do I cluster XY point data? (ArcGIS 9.3) which I am trying to incorporate into the iOS app. I've not yet figured out how best to apply it (server or client), but the theory seems sound. Essentially, create a grid and then map each point to the closest corner. I'll follow this post ...


3

Here's what the online doc says: Versioned and unversioned data is supported; however, versioning is required if you plan on editing nonsimple types (for example, network edges) with the service. Update: Also verify that the Editor has been configured for non-versioned editing.


3

The only one I'm aware of is the DeepEarth project. It's not had much development for a while though (targets Silverlight 2). Another option is to overlay an HTML control on top of your Silverlight application. You can then use OpenLayers as normal. I've done this successfully with Google Earth so can't think of any reason you can't do similar with ...


2

It is working for me when I change the Legend control reference to ESRI.ArcGIS.Client.Toolkit. I was getting a compiler error when I tried to use the legend from the same namespace as the Map control, which is what they are doing in the sample. Here is my XAML code: <UserControl x:Class="SilverlightApplication1.MainPage" ...


2

Use the MinimumResolution property on the Map control. This will allow you to zoom in to a smaller extent. On a side note, it is recommended that you use the newer Web Mercator services rather than the old 4326 services. For imagery, the Web Mercator endpoint would be http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer. See this ...


2

Jay, You pretty much have it - I'm not sure what you mean it has to be a feature set? It doesn't. The tool will take multiple feature layers as input. The Data Extraction tool works in a similar way. Maybe you're missing the part where this needs to be a tool layer? With your model as is (it looks correct from the screen shot), drag it into your Table of ...


2

I've never tried it, but according to the REST API documentation for Identify, instead of passing an envelope, you should be able to pass the geometry of the road with a tolerance of 0. Another option (which I have tried) is to call the Query method and pass the road's geometry with esriSpatialRelIntersects. The nice thing about Identify is that it ...


2

With the information you have provided, I would not be suspecting the drawing of graphics as the issue, as this is all done client-side. I would be doing some monitoring of the machine that has IIS on it. Using either Task Manager or/and procmon, keep an eye on the lsass and w3wp processes, and see if they bottom out when your also getting lots of hits ...


2

The attribute fields for a map layer are not available in its LayerInfo. What you'll have to do is, when the cmblayers is selected, query the REST service for that map layer. When you get your layer data, then you can add the fields you requested to your cmbFields ItemSource. I'll have the code for this later.


2

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.


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


1

I had a similar problem which was confirmed as a bug, perhaps you are having the same issue if you are using domain logins, check ravi's response: http://forums.arcgis.com/threads/36199-Bugs-Issues-with-Token-service-%28and-iOS%29


1

Latitude Geographics' product Geocortex Essentials is one option. You are able to create report templates that can generate a PDF based on what you are looking at ("print templates") or from a selection of data in a viewer ("layer reports"). Reports are generated server-side with the intent that you can replace the viewer with another technology without ...


1

Check out: DeepEarth ESRI's ArcGIS API For Silverlight ** ** You can download and use ESRI's Silverlight API for free.


1

Alright, so apparently the 2.2 spec has dropped this strange @parent attribute from Schema. Why you would want to rename <Placemark> is beyond me anyway... In addition, custom elements are supported in KmlLayer with <ExtendedData> and not <Schema>... Looks like I'll have to consult the KML author about how they're formatting things. ...


1

We use many dynamic and cached layers together to display information in the application we wrote. Each service is treated as a layer and the user has the ability to turn on/off most of them. In terms of blending, it should be fairly easy to allow the user to set a transparency level (or, set it yourself in the application) on one or more layers so that ...


1

Try checking that the status is ready. Also check if you get an old timestamp on the GeoPosition that is returned by the changed event.


1

Set the MovementThreshold to a higher value: The minimum distance that must be travelled between successive PositionChanged events. See Documentation


1

Use setView(LocationRect rect) in the Map to zoom. I would guess that MapLayer.GetPositionRectangle(layer) would give the full extent of the layer but I'm not sure. Otherwise loop through the list and create the LocationRect. For panning to different locations use the SetView(GeoCoordinate center, double zoomLevel) using the map ZoomLevel


1

In your code-behind, you can get your Map's scale and resolution, and divide them to get the constant between them. Then, just set the minimum resolution for the FeatureLayer, based on that. vb.net: 'assuming variable MyMap as ESRI.ArcGIS.Client.Map Dim myFeatureLayer as New FeatureLayer() With { _ ... .MinimumResolution = 10000 * MyMap.Scale / ...


1

Don't the symbols in the various resource dictionaries in ESRI's Silverlight Symbol Gallery close enough for your needs, or do you need those exact symbols? The ESRI Silverlight Viewer has several of these images in the \Images\Marker Symbols\ directory of the sites you create with their builder. Couldn't you just write an app that saves all the marker ...



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