|
POST
|
Hi Raja, The service you are using doesn't support ExportTiles operation This service does World_Street_Map You can check by looking for the supported operations at the bottom of the browser page when you open the link. -Asser
... View more
03-26-2015
11:51 AM
|
0
|
4
|
1686
|
|
POST
|
Hi Alexander, Did you get a chance to try this with different server versions or just 10.2.2? if not try it with another version if you have the chance. I wasn't able to reproduce the problem using different server versions including 10.2.2 and as you said the find request doesn't have contains value if not set or set to true, because true is the default value even on 10.2.2. If you can provide repro sample or more details that will be good. Thanks, Asser
... View more
03-26-2015
11:19 AM
|
0
|
10
|
1823
|
|
POST
|
Hi Jana, The way it created in the sample is to create an extent out of the results which mostly more than one location then zoom to that extent. In your case I believe you have only one point as a result to zoom to, so here is the way to zoom and center a point, you can change the scale value as desired. await MyMapView.SetViewAsync(_graphicsOverlay.Graphics[0].Geometry); await MyMapView.ZoomToScaleAsync(560); Thanks, Asser
... View more
03-02-2015
04:45 PM
|
1
|
1
|
899
|
|
POST
|
Hi Christos, Thanks for reporting this, it is a known issue and we working on getting it fixed soon. Thanks, Asser
... View more
02-25-2015
10:38 AM
|
0
|
0
|
619
|
|
POST
|
Keith, are you using .NET SDK 10.2.4 or 10.2.5 ? because if you using 10.2.4 you should try to see if the same issue happening with 10.2.5 or not, there is huge stability fixes added in 10.2.5. Thanks, Asser
... View more
02-24-2015
08:48 PM
|
0
|
3
|
2458
|
|
POST
|
I have been trying to reproduce it too with no luck even with the app running overnight. Sorry I don't think it would be possible to do what you ask for, It will be better to contact the support regarding this issue. -Asser
... View more
02-24-2015
06:13 PM
|
0
|
0
|
2458
|
|
POST
|
Hi Keith, Would you share what your app doing and which layers are you using? I tried to reproduce the issue with a Desktop app with just a base tiled layer and didn't see the error. Thanks, Asser
... View more
02-23-2015
11:43 AM
|
0
|
8
|
2459
|
|
POST
|
Hi Gauri, I have created a sample app for you shows how to do what you ask for. Hope it help you achieve what you want . Thanks, Asser
... View more
12-09-2014
06:18 PM
|
2
|
0
|
790
|
|
POST
|
Hi Karen, You can do that by looping over the three graphic layers you have and create a extent full all of them and zoom to that extent. That will be done by comparing each XMin and Ymin of each of this graphic layers and the widest one of them (depend on the spatial reference you are using) you will use it as the XMin and YMin for a new created Envelope. Then do the same for the XMax and YMax. Then zoom to that Envelope extent. Same as this image Lets say that your map have a base tiled layer and this 3 GraphicsLayers you can achieve what you want by this code below Envelope ZoomToExtent = new Envelope(); for (int x = 1; x < 3; x++) { GraphicsLayer currentGLayer = MyMap.Layers as GraphicsLayer; for (int y = 1; y < 3; y++) { GraphicsLayer comparedGLayer = MyMap.Layers as GraphicsLayer; if (currentGLayer.FullExtent.XMax > comparedGLayer.FullExtent.XMax) ZoomToExtent.Extent.XMax = currentGLayer.FullExtent.XMax; if (currentGLayer.FullExtent.YMax > comparedGLayer.FullExtent.YMax) ZoomToExtent.Extent.YMax = currentGLayer.FullExtent.YMax; if (currentGLayer.FullExtent.XMin < comparedGLayer.FullExtent.XMin) ZoomToExtent.Extent.XMin = currentGLayer.FullExtent.XMin; if (currentGLayer.FullExtent.YMin < comparedGLayer.FullExtent.YMin) ZoomToExtent.Extent.YMin = currentGLayer.FullExtent.YMin; } } MyMap.ZoomTo(ZoomToExtent); Hope that helps Thanks, Asser
... View more
09-18-2014
01:45 PM
|
0
|
1
|
547
|
|
POST
|
Hi Julie, Sure you can. using the VisibleLayers property for the DynamicMapServiceLayer. lets say your user names notAllowedUser and your countrytab is the second layer on the map with index 1 and sertab is tenth layer on the map with index 9. you will create a int array contain all layer indexes except this two like below and set it to the DynamicLayer. if( notAllowedUser is the logged user) { int[] myVisibleLayers = {0, 2, 3, 4, 5, 6, 7, 8}; myArcGISDynamicMapServiceLayer.VisibleLayers = myVisibleLayers; } else { int[] myVisibleLayers = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; myArcGISDynamicMapServiceLayer.VisibleLayers = myVisibleLayers; } That will help too too ArcGIS API for Silverlight API Reference| ArcGIS for Developers Hope that helps. Thanks, Asser
... View more
09-10-2014
05:37 PM
|
1
|
0
|
246
|
|
POST
|
Hi Tomy, If your MapService is TiledMapServiceLayer you will not be able to control Layer ("2") as separate FeatureLayer. If it is DynamicMapServiceLayer then you can get the Layer ("2") as FeatureLayer using its index and work on it as Polygon FeatureLayer. Thanks, Asser
... View more
09-10-2014
05:27 PM
|
1
|
0
|
255
|
|
POST
|
Hi Julie, You can use the Angle property of the PictureMarkerSymbol. Thanks, Asser
... View more
09-10-2014
05:18 PM
|
0
|
0
|
344
|
|
POST
|
Hi Amit, Actually you cant do that for TiledLayer and here is why. When you create a Cached layer or TiledLayer on ArcServer what happened is that ArcServer create small tiles for the map on all available scales and every where. which means thousands of small tiles. And they already created and saved on the server as they was created on ArcMap before turning them in to TiledLayer. And all what your app do is requesting this small tiles as it is form ArcServer to show them on a Grid as it come to the end to be the map. You can change the visibility of the sublayers of a DynamicLayer because the DynamicLayer works in different way, your app sends a request to ArcServer requesting a view for a specific extent which is your current location on the map and with some properties like which layers to be visible or not. Then ArcServer creates a new image view for that location with this properties and send it back to your app. That is why TiledLayers are faster in rendering and DynamicLayers slower but have more dynamic in using it. Hope that helps you in knowing how they works and what you can do and what you cant. To achieve what you want you can use DynamicMapService instead of the Tiled one. or create and add a TiledLayer as base map with out the sublayers and add the sublayers separately to the map and you will be able to control them as you want in hiding or showing them. Thanks, Asser
... View more
09-10-2014
05:09 PM
|
0
|
1
|
943
|
|
POST
|
Hi Julie, You can use Envelope.Intersects method. Get your vehicle location extent and check if it is intersects with the geofecneLayer. Something like this Polygon geoFenceArea = geofenceLAyer.Graphics[0] as Polygon; if(vehicleLocation.Extent.Intersects(geoFenceArea.Extent)) //The vehicle is in else //The vehicle is out Hope this helps. Thanks, Asser
... View more
09-10-2014
04:47 PM
|
1
|
0
|
218
|
|
POST
|
Hi thanks for providing a sample code. I understand your problem, would you please tell me what exactly do you need to do by tracking the moving graphic? What you will do or show when you know that the user is actually moving the editing graphic? Thanks, Asser
... View more
06-09-2014
03:48 PM
|
0
|
0
|
836
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2015 02:47 PM | |
| 1 | 03-02-2015 04:45 PM | |
| 1 | 04-20-2015 11:36 AM | |
| 3 | 06-18-2015 10:52 PM | |
| 1 | 03-26-2015 12:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|