|
POST
|
If you need unique colors for each type, use the UniqueValueRenderer instead of the ClassBreaksRenderer.
... View more
02-15-2011
12:16 PM
|
0
|
0
|
1455
|
|
POST
|
The Silverlight API is a 'client api', meaning it's a client for ArcGIS Server. So yes you'll need ArcGIS Server.
... View more
02-15-2011
12:13 PM
|
0
|
0
|
494
|
|
POST
|
Also see this blogpost: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2011/02/12/Auto_2D00_reprojecting-graphics-layers.aspx
... View more
02-14-2011
10:16 AM
|
0
|
0
|
358
|
|
POST
|
Technically this is a bug in the designer and not the API 🙂 We found a workaround to make the designer work, which will be included in v2.2.
... View more
02-05-2011
11:59 AM
|
0
|
0
|
767
|
|
POST
|
I doubt anyone can claim that they have never done this 🙂
... View more
02-03-2011
06:04 PM
|
0
|
0
|
947
|
|
POST
|
"I'm using a simple query to query a point and select it." That "point" you are referring to is your 'p', whatever you named that. Just replace my 'p' with the name of your point.
... View more
02-03-2011
06:02 PM
|
0
|
0
|
2528
|
|
POST
|
There's nothing out of the box that does this in the API's (from the API point of view, it's still getting a tile and isn't trying to analyze the image). It might be possible to use the TileLoaded event on the layer to check the image stream coming back and see if you can "recognize" that this is one of these images - ie first look at the stream length which is 2521bytes (although subject to change), and then check some bytes to see if these match the "not available" image bytes". However the only option you get is to replace the image with your own, or set it to "null", meaning not displaying an image at all (so it's not the blurred image you see in ArcMap).
... View more
02-03-2011
06:00 PM
|
0
|
0
|
532
|
|
POST
|
Looks to me like you are switching lat and long: MapPoint point = new MapPoint(ev.Longitude, ev.Latitude) { SpatialReference = new SpatialReference(4326)) };
... View more
02-03-2011
02:38 PM
|
0
|
0
|
947
|
|
POST
|
You would have to be careful to remove references to the pan and rotate elements in the code file too. Actually no. The control should be able to handle missing elements from the template just fine. You could delete everything from the template and it should still run (although of course nothing would be rendered :-)). So no need to modify the codebehind, or for that matter recompile the api. But you can extract the template from the source on codeplex. You might also want to look at the two templates that comes installed with the API. They both override the default navigation template, so you can look at how that was done in there.
... View more
02-03-2011
02:37 PM
|
0
|
0
|
996
|
|
POST
|
'p' is the point you wanted to zoom to in the first place.
... View more
02-03-2011
02:30 PM
|
0
|
0
|
2528
|
|
POST
|
At this point in time, you access the cluster graphic that represents group of features, and not the individual graphic that one of the "flares" represents. If the user needs to interact with the individual features, they will need to zoom into a level where they spread out to individual symbols. This is by design, but we are considering options for handling this use case in a future release.
... View more
02-03-2011
02:28 PM
|
0
|
0
|
2093
|
|
POST
|
I'm not sure. I have never tried it anywhere else 🙂 If you don't find another way to do it, you can download Blend as a 60 day free trial.
... View more
02-03-2011
08:13 AM
|
0
|
0
|
996
|
|
POST
|
I didn't say there wasn't any way to do it. All I said was that there is no way to do it that complies with Google's Terms of Use (creating a google maps layer for the Silverilght API is actually VERY simple - apart from the lawyers part). Can't you just use the Bing Maps layer instead? The data is just as good (if not even better) than Google's in many areas, and they are way less restrictive when it comes to using their data in 3rd party apps.
... View more
02-01-2011
08:08 AM
|
0
|
0
|
2594
|
|
POST
|
Sorry I don't have anything at hand here. I just know it can be done. The best you can do is first get your head around how SqlGeometry works and how it represents points, lines and polygons (MSDN has lots of doc on this). Then do the same for ESRI Geometry. When you got your head around those two things, it should be fairly straightforward for you to do.
... View more
02-01-2011
08:04 AM
|
0
|
0
|
3946
|
|
POST
|
Vertical center alignment can be done the same way using equal negative margins for top and bottom. If you wrap the above template in a control, you can get access to the control when its created through its constructor, use the various override methods etc. Note though that the graphic it renders might change from time to time because of the virtualization going on under the covers (ie. if a graphic moves out of the map view, and another later moves in, the control instance might be reused to render this new graphic). Also note that there is no link from within this control back up to the graphic it is representing.
... View more
02-01-2011
08:01 AM
|
0
|
0
|
1500
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|