|
POST
|
Non-spatial tables in the geodatabase are already supported. You won't be able to visualize them on a map through a layer (after all, they have no geometry), but you should be able to query & edit.
... View more
05-29-2014
02:02 PM
|
0
|
0
|
1004
|
|
POST
|
You need to create a Tile Package (.tpk file) More information here - https://developers.arcgis.com/ios/guide/local-tiled-layer.htm
... View more
05-27-2014
09:12 AM
|
1
|
0
|
861
|
|
POST
|
Steve, Unfortunately, the SDK does not support creating new folders at this time. This is something that we could look into adding for an upcoming release. For the moment, you will have to directly invoke AGOL's REST API to create a folder http://resources.arcgis.com/en/help/arcgis-rest-api/#/Create_Folder/02r300000074000000/ For convenience, you can use the SDK's AGSJSONRequestOperation class. Be sure to set a credential on it so that it can connect to your AGOL account.
... View more
05-27-2014
09:07 AM
|
0
|
0
|
677
|
|
POST
|
If your map is not in WGS84 spatial reference, you need to project the center point of the map's visible area first. AGSGeometryEngine* engine = [AGSGeometryEngine defaultGeometryEngine]; AGSPoint* mapPoint = self.mapView.visibleAreaEnvelope.center; AGSPoint* wgs84Point = (AGSPoint*)[engine projectGeometry:mapPoint toSpatialReference:[AGSSpatialReference wgs84SpatialReference]]; LongCentro.text = [NSString stringWithFormat:@"Long: %.4f", wgs84Point.x];
... View more
05-23-2014
08:05 AM
|
0
|
0
|
675
|
|
POST
|
Yeah, the picture marker symbol resizes to original size after you finish zooming in/out. What you really want to do is georeference an image on the map. This is covered in this forum post - http://forums.arcgis.com/threads/60285-How-do-I-create-a-layer-that-is-generated-from-an-image There is also a custom layer that we wrote as a demo that does this for you - https://github.com/Esri/tips-and-tricks-ios/tree/master/UC2013_TipsAndTricksDemos/CustomDynamicLayer
... View more
05-12-2014
09:27 AM
|
0
|
0
|
1081
|
|
POST
|
Yes, you need a standard license for (as per the doc ) - Local locators (geocoding) Local routing Local geodatabase editing Local geodatabase sync operations with an upload
... View more
05-09-2014
10:13 AM
|
0
|
0
|
517
|
|
POST
|
Hi, Shimin - Thanks for uploading your tpks. I was able to display the 1021 TPK both on the simulator and iPhone 5 device using the LocalTiledLayerSample. All I did was add it to the sample's XCode project. [ATTACH=CONFIG]33575[/ATTACH] Can you confirm if it works for you in the sample? If it doesn't work, I wonder if the tpk is somehow getting corrupted when being transferred over to the device. In the past I've seen this happen only with really large tpks (~500+ MB) when it is part of the XCode project and when Xcode tries to copy it over while installing the app on the device. Have you tried adding the tpk to the apps's shared documents directory and loading it from there instead of including it in your project? I'm afraid we'll have to try a few variations and try to narrow down when this problem surfaces. Also, do you get any errors reported by the AGSLocalTiledLayer when you try to intialize it with the tpk? _ Divesh
... View more
05-04-2014
05:14 PM
|
0
|
0
|
1765
|
|
POST
|
Can you share your project and data with us? Also, what is the value of the error variable after the route task fails initialization
... View more
04-29-2014
11:48 AM
|
0
|
0
|
1087
|
|
POST
|
You're using the Esri World Topo basemap, so your map is in Web Mercator spatial reference. But the coordinates you're using in ZoomToEnvelope are in decimal degrees (implying a WGS84 spatial reference). This mis match causes the map to zoom into the wrong place. You should really specify the coordinates in web mercator, or alternatively, you can continue use wgs84 for the coordinates, but then reproject the envelope in web mercator. This topic is also covered in this post - As for zoomWithFactor , you're specifying a factor of 4, which will try to zoom OUT the map. You're probably already zoomed out all the way, and so this doesn't take any effect. To zoom in, you should specify a fractional value less than 1, for eg, 0.2. This should make the map zoom in. PS, the map's location display has an autopan mode. If you set this to default, it will zoom the map into the location of the device. You can change the zoomScale of the location display to specify what target scale to zooms into when it tries to center on the device location.
... View more
04-25-2014
11:36 AM
|
0
|
0
|
658
|
|
POST
|
We currently don't have a way to filter features using a definitionExpression on AGSFeatureTableLayer. We hope to add this in an upcoming release. You can manually toggle the visibility of features by using setVisible:forFeature: on AGSFeatureTableLayer See https://developers.arcgis.com/ios/api-reference/interface_a_g_s_feature_table_layer.html#a5528e486382e8b6688e3aacbc708d1cf
... View more
04-25-2014
09:13 AM
|
0
|
4
|
1514
|
|
POST
|
The API supports transactions through AGSGDBTransaction. You can use this to rollback one of the edits if the other one fails.
... View more
04-24-2014
05:28 PM
|
0
|
0
|
613
|
|
POST
|
Yes, an offline layer is basically an AGSFeatureTableLayer. This layer has a renderer. You can get to the symbols being used by the renderer and ask for a swatch of each symbol. These swatches can then be displayed in a legend. See https://developers.arcgis.com/ios/api-reference/interface_a_g_s_symbol.html#a64ad2116214fae6b0b0609a879295747 Also see Offline Feature Editing Sample. This sample gets swatches for all the symbols being used by the offline layers and displays it in a Feature Template Picker. This is similar to the code you would need to display in a legend.
... View more
04-24-2014
05:02 PM
|
0
|
0
|
566
|
|
POST
|
Tom, The reason your map is blank is because the layer referencing tiledbasemaps is probably not loading properly. Did you attach a delegate to the layer? If you did'nt, you should do so and you will see that the delegate's layer:didFailToLoadWithError: gets invoked providing you info about the underlying error. tiledbasemaps is available only for users with an organization subscription to ArcGIS.com. To access it from the SDK, you need to provide a credential (AGSCredential) to the layer representing a valid user account belonging to that subscription. Take a look at the oAuth Login Sample that shows you how to connect to ArcGIS.com using a org subscription account.
... View more
04-24-2014
04:40 PM
|
0
|
0
|
357
|
|
POST
|
Darren, Let me try to explain. You are trying to add a graphic on a map. You are assigning the graphic a point geometry whose x & y coordinates are in lat/long format, basically decimal degrees. This implies that your point geometry is WGS84 spatial reference. The map you are using is probably in WebMercator spatial reference. The x& y coordinates on this map are expressed in meter values. Therefore, the lat/long values you are using for your graphic will not show up in the right location on the map. They will, as you observed, be somewhere near the center. To get this all to work, you need to perform one additional step of projecting your point geometry which uses WGS84 spatial reference into Web Mercator. You can then use this projected result in your graphic and place it correctly on the map. The Runtime SDK does not automatically project geometries for you. float longitude = -96.6477; float latitude = 33.0477; AGSPoint *wgs84Point = [AGSPoint pointWithX:longitude y:latitude spatialReference:[AGSSpatialReference wgs84SpatialReference]]; //This example shows using GeometryEngine to project, but you can also AGSGeometryGeographicToWebMercator() function //See https://developers.arcgis.com/ios/api-reference/_a_g_s_geometry_8h.html#ac501960bbf7012239968ba9107935430 AGSGeometryEngine* ge = [AGSGeometryEngine defaultGeometryEngine]; AGSPoint* webmercatorPoint = [ge projectGeometry:wgs84Point toSpatialReference:[AGSSpatialReference webMercatorSpatialReference ]]; AGSGraphic *myGraphic = [AGSGraphic graphicWithGeometry:webmercatorPoint symbol:myMarkerSymbol attributes:nil]; ...
... View more
04-24-2014
04:33 PM
|
0
|
0
|
986
|
|
POST
|
Thanks for the feedback. We are looking into supporting this for an upcoming release. Please send me an email at dgoyal at esri dot com if you're interested in helping us test a prototype.
... View more
04-15-2014
05:03 PM
|
0
|
0
|
599
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-02-2025 12:39 PM | |
| 1 | 10-01-2024 12:36 PM | |
| 1 | 05-10-2024 02:32 PM | |
| 1 | 07-10-2023 11:12 AM | |
| 1 | 06-15-2023 09:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-15-2025
04:18 PM
|