POST
|
The easiest way to hide and show a graphics layer: UIView<AGSLayerView> *layerView = [self.mapView.mapLayerViews objectForKey:graphiclayername]; layerView.hidden = YES; (or NO) Hoep it helps Frank Many thanks frank, its working 🙂 Now If i want to save my last route results, as if i close the app completely (means the app is not in Memory) and run the app again and want to see the last routing results in routing mode then is it possible? if yes (i think yes) then please tell me how can i save the last results in core data or in any other way so i can achieve my goal to show the last result on the next time run of app.
... View more
08-06-2012
12:26 AM
|
0
|
0
|
223
|
POST
|
Hy I am using iOS Runtime SDK in my app. I am facing strange behavior of my app, When I go to Current Location then it does not show the current location and shows following errors in Output: 2012-08-06 10:58:00.970 AlMurshid[5154:5733] Error happened for tile 7/26143/21251 2012-08-06 10:58:01.892 AlMurshid[5154:5733] Error happened for tile 7/26213/21251 2012-08-06 10:58:01.894 AlMurshid[5154:5733] Error happened for tile 7/26212/21251 My code on GoToCurrentLoc button click is as: [self.mapView.gps stop];
self.mapView.gps.autoPan = AGSGPSAutoPanModeDefault;
self.mapView.gps.wanderExtentFactor = 0.75; //75% of the map's viewable extent
[self.mapView.gps start]; The same code was working fine a month before. please Guide me what's going wrong in it?
... View more
08-05-2012
10:35 PM
|
0
|
1
|
592
|
POST
|
Hy I am using two AGSGraphicsLayers in my app one for normal features and Graphics and another for Routing graphics and routing results. I want to handle the situation that if routing is solved and routing graphics layer is populated, its mean now this layer have graphics. Now I go to normal app showing features graphics layer and not the routing graphics layer as they are both on the same map. so i use // remove all graphics [self.graphicsLayerRouting removeAllGraphics]; [self.graphicsLayerRouting dataChanged]; so the routing results are removed. Now I came back to routing case again, means the routing layer is going to add again with NO GRAPHICS. But i need the last routing result. Now please guide me that what i have to do to show the last routing graphics layer? any idea about 1. How to hide the graphics layer and show it again? 2. or how to save the last graphics in array or dictionary format and on next time how should I re populate layer with that array or dictionary. Thanks Khurram
... View more
08-02-2012
09:45 PM
|
0
|
2
|
3155
|
POST
|
There is no provision of traffic condition in ArcGIS Runtime SDK for iOS. Regards, Nimesh Thanks Nimesh for reply, Ok we cannot get Traffic conditions in iOS SDK. But I have one more question regarding Traffic conditions by using iOS Route task, should it calculate routing by considering traffic conditions. I find some information in "Barriers (Features, Layer definition)" in route task for iOS API http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.1/concepts/index.html#/Route_Task/00pw00000056000000/ . Please provide some comments for following 1. How to add barriers on server so by using simple Route task (without adding barriers from iOS App) it gives the routing result with best fair traffic conditions. 2. Or we have to add barriers from iOS route task as it is working in online given example of Route task. (For this User of APP must know traffic conditions so he/she can add barriers to avoid heavy traffic, which is an odd job on user side). 3. If possible then give comments about first point mentioned above to add traffic conditions on server side and user just sent the 'to from locations' and server gives results by considering fair traffic conditions.
... View more
07-16-2012
10:16 PM
|
0
|
0
|
222
|
POST
|
Hi i am using ArcGIS in my iOS app. I have searched for Traffic Conditions in ArcGIS for iOS API. But unfortunately I did not find the solution 😞 Please tell me is it possible for iOS app using ArcGIS, if possible then what to implement on my server side and what on iOS app side. I did not found any example please provide me some example code if you can. Thanks
... View more
07-12-2012
01:46 AM
|
0
|
3
|
2806
|
POST
|
Hi,I'm using the sample from arcgis online samples(RoutingSample) in my iOS app. It is working but with limited performance as if I tap "EXACTLY" on the Road then it calculates route other wise it fails. But i want to get routing from any place like from any landmark to other landmark. Is it Possible? because landmarks are not "EXACTLY" on the Road, they are on sides of road or we can say that they are a little bit far from road. In current state of my server it is not working, but if it is possible then guide me what i have to do on my server side or iOS app side.
... View more
07-12-2012
01:39 AM
|
0
|
1
|
1887
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|