|
POST
|
Does this happen in the simulator or just on a device? We're aware of the on-device issue and are investigating. My recommendation from my own experience, for now, is to revert to iOS 9 Beta 2 and Xcode 7 beta 2 if you're using a device. Nick
... View more
07-19-2015
11:20 PM
|
0
|
3
|
2285
|
|
POST
|
FYI, this was fixed in last night's update. Loren Mueller, I suggest you take another look and see if your issue has been resolved. From your description, I think it should be.
... View more
07-14-2015
08:51 AM
|
0
|
0
|
2929
|
|
POST
|
Hi Loren Mueller. Apologies that I missed your post. It could well be. I suggest that you try again after this release goes live. Cheers, Nick.
... View more
07-13-2015
01:40 PM
|
0
|
0
|
2929
|
|
POST
|
Yes, Anthony Picciano, the release was delayed a couple of days. Target is to release tomorrow.
... View more
07-13-2015
01:38 PM
|
1
|
0
|
2929
|
|
POST
|
Hi Lip Hin Wee, I've checked in an update that allows you to use an AGSGraphicsLayer as a data source. Hope this helps! Nick.
... View more
04-09-2015
04:40 PM
|
0
|
0
|
3009
|
|
POST
|
Hi Anthony. Thanks for following up. I found out today that the bug will be fixed at the next release of the Geocoder Service, which is planned for July. Cheers, Nick.
... View more
04-01-2015
08:08 PM
|
0
|
5
|
2929
|
|
POST
|
Hi Savio, For me, the cafe appears to be in the right place. So given that, I think your question is about Spatial References. -1024499.0043,4678426.5468 (x,y in meters) is in Web Mercator Spatial Reference (usually known as WKID 102100 or 3857, but 102113 is an older identifier). This translates to 38.6974539920001,-9.20323083499994 as lat,lon. You can do one of a few things: Use the Runtime SDKs (in iOS, an AGSFeatureLayer added to an AGSMapView) to handle them. When you create a layer with the service URL and add it to the map, the Runtime will ensure things are returned from the server appropriately for direct display on the map. This is by far the simplest approach. If you're querying the REST service directly, Specify the outSR in the service query request: http://digc.cm-lisboa.pt/DIGC/rest/services/OpenDataLX/LxPOI/MapServer/116/query?text=&geometry=&geometryType=esriGeomet… (see also here for an HTML interface) Use the runtime GeometryEngine class to project the point from WKID 102113 to WKID 4326. Do your own maths to translate the Web Mercator (102113) coordinate -1024499.0043,4678426.5468 to the Lat/Lon (4326) coordinate -9.20323083499994,38.6974539920001. There are plenty of algorithms around, but I don't recommend this approach. So, you don't have to work with the Esri SDKs and APIs to use the data as it comes out of the service, but they can make your life a lot easier if you do. Does this help? Nick.
... View more
03-26-2015
11:38 AM
|
0
|
0
|
843
|
|
POST
|
Hi Furkan Ozoglu, Are you saying that you're not sure how to get hold of the layer once your app has started? Or has Al Pascual helped resolve your issue? Cheers, Nick.
... View more
03-26-2015
09:29 AM
|
0
|
0
|
1456
|
|
POST
|
Thanks for the write-up, Anthony. This may be a bug. We're looking into it and will post something when we know more. Nick.
... View more
03-25-2015
11:26 AM
|
0
|
7
|
2929
|
|
POST
|
I have the workings of a clusterLayerForGraphicsLayer function. I need to tidy it up a little more. Hopefully I can get to that tomorrow. Will let you know here. Thanks, Nick. Update: I didn't get to it when I hoped I could. It's back on the list now that DevSummit is behind us. I've opened an issue at the GitHub Repo. You should track that from now on.
... View more
02-25-2015
04:46 AM
|
0
|
0
|
3009
|
|
POST
|
Hi Muzammil, Thanks for sending me the sample project. So, you were really close. The problem is that Xcode was not copying the Network_ND files to a .tn subfolder when building the target. Rather they were sitting at the top-level, right next to the .geodatabase file. So, use the following code (pretty much your original code without .geodatabase in the name, but it's good practice that we check explicitly for an error): NSError* error = nil; self.routeTask = [AGSRouteTask routeTaskWithDatabaseName:@"network_projected" network:@"Projected_Network_ND" error:&error]; if (!error) { // assign delegate to this view controller self.routeTask.delegate = self; // kick off asynchronous method to retrieve default parameters // for the route task [self.routeTask retrieveDefaultRouteTaskParameters]; } else { NSLog(@"Could not open local network dataset: %@", error.localizedDescription); } Also, no need to set up parameters at this point since the didRetrieveDetrieveDefaultRouteTaskParameters handler will do that. You must now modify your target properties to specify where to copy the _ND files. See the following screenshots. 1: Create a new Copy Files build phase with the + button at the top of the Build Phases list: 2: Expand the new Copy Files phase, set the subpath to a .tn folder (in your case, "network_projected.tn") and click the + at the bottom of the phase to add files: 3: Add the files to the Copy Files phase: It should end up looking like this: Run your project and you should see default parameters being retrieved OK. It seems that if you provide a database name that can't be found, no error is returned. That seems like a bug to me, which I've reported to the iOS team. Even without that, Xcode would have had to be configured as above, but it might have saved some confusion! Hope this helps! Cheers, Nick. P.S. For anyone following along, please note that the network dataset name in this reply is slightly modified from the original question.
... View more
02-20-2015
07:59 AM
|
1
|
0
|
1647
|
|
POST
|
Unfortunately no, currently the AGSGDBFeatureServiceTable is meant to be used with a layer. I will see if we can make the documentation clearer on this.
... View more
02-19-2015
11:57 AM
|
0
|
0
|
608
|
|
POST
|
Hi, I'll have to take a look at the code to see, but it should be possible. To be clear, you want to populate a GraphicsLayer yourself, and then cluster the content? Nick.
... View more
02-18-2015
01:18 PM
|
0
|
3
|
3009
|
|
POST
|
Hi Muzammil, If the folder is named network.tn, then that looks correct to me. Can you check whether error is populated with an error object after the call to routeTaskWithDatabaseName? Thanks, Nick.
... View more
02-18-2015
11:25 AM
|
0
|
2
|
1647
|
|
POST
|
I created this plugin a few months back. It provides a cluster layer for the iOS Runtime to allow clustering of point-based feature services: nixta/clusterlayer-plugin-ios · GitHub Note, this is not an official Esri component. (CC Farzana Yasmeen)
... View more
01-17-2015
12:53 PM
|
2
|
5
|
3009
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 2 weeks ago | |
| 4 | 3 weeks ago | |
| 1 | 01-29-2026 09:39 AM | |
| 1 | 12-17-2025 10:12 AM | |
| 1 | 11-05-2025 10:52 AM |