|
POST
|
Even though your service is published as tiled, you can still use it as a dynamic layer on the client. I don't think the JS API validates the spatial reference of the two layers and lets you do it. In this case the two spatial reference are very close (usually 100-500 feet error), so you might not have noticed the misalignment. That doesn't mean it's right to do it though 🙂
... View more
06-18-2010
05:42 PM
|
0
|
0
|
2224
|
|
POST
|
- Will Silverlight 4, ESRI SDK 2.0 beta and ArcGIS Server 9.3.1 work together. Yes - What about Silverlight 4, ESRI SDK 1.1 and ArcGIS Server 9.3.1? Yes it should (v1.1 is not officially supported/tested for SL4) - What about Silverlight 3, ESRI SDK 1.1 and ArcGIS Server 10? Yes it should (v1.1 is not officially supported/tested for SL4) However, why are you not using at least v1.2 ?
... View more
06-18-2010
05:40 PM
|
0
|
0
|
562
|
|
POST
|
I would use a dynamic service when zoomed out, so you can display all features. When you zoom further in you switch to the featurelayer. Set the featurelayer to be in OnDemand mode, and it will request features as needed while you pan around. That way you only load features the user wants to work with.
... View more
06-18-2010
05:38 PM
|
0
|
0
|
2369
|
|
POST
|
You cannot zoom to a point, because it doesn't have a valid extent to zoom to. The reason is basically the same as the problem you are facing: The map can't know how far in you meant to zoom around that point. It really depends on the type of data (ie you want to zoom further in if the point represents an address, but not as far if its a city). If you need to zoom around a certain point, use myMap.ZoomToResolution(myMap.Resolution/2, pointToZoomAround); Also you cannot call PanTo right after calling ZoomTo or vice versa. Calling one of these commands will stop any other active navigation (like the previous one you just called).
... View more
06-18-2010
05:34 PM
|
0
|
0
|
863
|
|
POST
|
Sounds more like you are not making the correct request 🙂 That's why I asked where the data comes from. Did you set the SpatialReference property in the FindParameters/IdentifyParameters to that of the map? You should then get data back in the map's spatial reference, and don't have to worry about it at all. If you dont set it, it will default to the service's spatial reference, which in this case is wrong.
... View more
06-18-2010
05:28 PM
|
0
|
0
|
1003
|
|
POST
|
The client doesn't have any reprojection built in, so yes you will have to do a roundtrip first. I'm wondering why your data is in the wrong projection in the first place? Where did this data come from, since it's not in the right projection?
... View more
06-17-2010
11:16 PM
|
0
|
0
|
1003
|
|
POST
|
You can use the approach applied here: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SDSMap The basic idea is to keep doing queries for the next 500 points until you don't get any more results back, and populate them in a graphics layer. I've successfully had 25000 points in a cluster layer, with reasonable performance. However the big problem when dealing with that much data is that the client has to download all that data, and you probably don't want that. Are you really sure the user needs to deal with 20000 interactive points at once? My experience is that if you have more than ~100 features, you are already overloading the user with data to interact with.
... View more
06-17-2010
11:12 PM
|
0
|
0
|
2369
|
|
POST
|
Is it just me, or is the icon down in the corner indicating that a script error happened? Have you looked in FireFox's errorlog ?
... View more
06-17-2010
04:36 PM
|
0
|
0
|
859
|
|
POST
|
I am trying to add two TiledMapservices of different spatial reference to a map object. Only the layer whichever I add first is showing. How to make both layers to appear? You cannot mix tiled layers of different spatial reference together. They basically wouldn't overlap correctly. It's the projection's equivalent of mixing Miles and Kilometers together. You can set the second layer to be an ArcGISDynamicMapserviceLayer. ArcGIS dynamic services can reproject on the fly and thereby match the baselayer's spatial reference. Of course you won't get the performance benefit of the cache layers, but that is the tradeoff you are making.
... View more
06-17-2010
04:34 PM
|
0
|
0
|
2224
|
|
POST
|
Microsoft fixed a few things in the XAML parser that is causing this. Either remove the <esri:Map.Layers> part (layer collection is implied), or add a <esri:LayerCollection> around the layers: <esri:Map >
<esri:Map.Layers>
<esri:LayerCollection>
<bing:TileLayer />
<esri:ArcGISTiledMapServiceLayer />
<esri:GraphicsLayer />
</esri:LayerCollection>
</esri:Map.Layers>
</esri:Map> or <esri:Map >
<bing:TileLayer />
<esri:ArcGISTiledMapServiceLayer />
<esri:GraphicsLayer />
</esri:Map> Difference is that the first one replaces the existing layer collection, the other one adds to it, but the result is the same.
... View more
06-17-2010
04:29 PM
|
0
|
0
|
1269
|
|
POST
|
map.ZoomTo(geometry); //zooms to the extent of the provided geometry map.Zoom(2.0); //zoom in 2 times the scale map.Zoom(.5); //zoom out 2 times the scale CenterAt: map.PanTo(geometry); //centers at the center of the provided geometry
... View more
06-17-2010
04:26 PM
|
0
|
0
|
863
|
|
POST
|
But does 2.0 support VS 2008? I see the minimum install is VS 2010 and I m using WPF not silverlight. We are using Expression Blend 3 . VS2010 is only required for the Silverlight portion. You can continue to use VS2008 if you are doing WPF.
... View more
06-17-2010
08:22 AM
|
0
|
0
|
1620
|
|
POST
|
"When I hover over the feature (turns to bright blue), then I want my data grid row to scroll into view and be the same bright blue. " Part of this feature will actually be part of 2.0. The row will use the same highlight color when hovering over a graphic as when you hover over the row (this is different from the selection color).
... View more
06-17-2010
08:17 AM
|
0
|
0
|
2270
|
|
POST
|
You can use the ESRI.ArcGIS.Client.Bing.Transform class in the bing assembly to do the transform. In our next public release there will also be webmercator projection classes in the core api as well, so you don't need to add this assembly to your build.
... View more
06-17-2010
08:15 AM
|
0
|
0
|
352
|
| 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 |
2 weeks ago
|