|
POST
|
Hi there, I'm new to Apple and the ArcGIS SDK for iOS and may be asking silly questions or have done something wrong... I just uninstalled the ArcGIS Runtime SDK for iOS version 2.3.2 and downloaded and installed the new version 10.1.1 on my MacBook Air (OS X 10.8.2). The uninstall and install went smoothly. I checked based on the install summary and confirmed that the new version has been installed in the following directories in the Finder: Macintosh HD/Library/SDKs/ArcGIS/iOS/ArcGIS.framework Macintosh HD/Library/SDKs/ArcGIS/iOS/Samples Macintosh HD/Library/Developer/Shared/Documentation/SocSets Macintosh HD/Library/Application Support/AGSiOSRuntimeSDK However, when I went through the steps of the Configuring an Xcode Project in the Getting Started section of the ArcGIS Runtime SDK for iOS online help, in the step 1 Add ArcGIS to the Framework Search Paths, the recommended Framework Search Path: $(HOME)/Library/SDKs/ArcGIS/iOS/** does not seem to be valid because there is no iOS directory in my home directory: Macintosh HD/Users/shiminc/Library/SDKs/ArcGIS, under which there is only one directory called Samples, and I guess they might be the leftovers of the version 2.3.2... As a result of the issue, Xcode couldn't find the <ArcGIS/ArcGIS.h>... Just wondering if the new SDK is really installed in the home directory or what I could have done wrong? I think the 2.3.2 seemed working fine... Thank you, Shimin Cai I am baffled why the SDK is getting installed under Macintosh HD/Library/. It should actually get installed under the Library folder of your home directory, which I assume is Macintosh HD/Users/shiminc. Are you by any chance running the installer as root? And then running the XCode project as yourself?
... View more
01-11-2013
07:59 AM
|
0
|
0
|
2292
|
|
POST
|
Can you check the /var/log/install.log file? It may contain clues as to what's going wrong.
... View more
01-10-2013
08:18 AM
|
0
|
0
|
2200
|
|
POST
|
The API doesn't expose the index of the selected vertex. However, if you would like to move it to the current GPS location, you can programatically simulate a touch on the map, this will make the selected vertex move to the location of the touch. CGPoint screenPoint = [self.mapView toScreenPoint:self.mapView.gps.currentPoint]; [self.sketchGraphicsLayer mapView:self.mapView didClickAtPoint:screenPoint mapPoint:self.mapView.gps.currentPoint graphics:[NSDictionary dictionary]];
... View more
11-20-2012
08:29 AM
|
0
|
0
|
827
|
|
POST
|
Check out our latest sample showing how to display popups.
... View more
11-19-2012
01:30 PM
|
0
|
0
|
1597
|
|
POST
|
Check out our latest sample showing how to display popups.
... View more
11-19-2012
01:30 PM
|
0
|
0
|
1144
|
|
POST
|
We don't have a layer type that supports Google maps. However, you can build your own custom tiled layer that uses Google map tiles.
... View more
11-19-2012
01:26 PM
|
0
|
0
|
558
|
|
POST
|
Hi, Aaron - Please share the tile package and we'll look into it. Thanks
... View more
11-19-2012
01:23 PM
|
0
|
0
|
773
|
|
POST
|
Can you try doing this :
-(void)attachmentManager:(AGSAttachmentManager *)attachmentManager didDownloadAttachmentInfos:(NSArray *)attachmentInfos
{
for(AGSAttachmentInfo *info in attachmentInfos)
{
[attachmentManager downloadAttachmentDataForId:info.attachmentId];
}
}
... View more
11-19-2012
01:21 PM
|
0
|
0
|
630
|
|
POST
|
4) None of the above 🙂 In reality, it is somewhere between 2 & 3.
... View more
09-21-2012
03:29 PM
|
0
|
0
|
2501
|
|
POST
|
KVO to the rescue! You should attach a key-value-observer (KVO) to the panning/zooming properties of the mapview. When these properties toggle ON/OFF, your observer will automatically be informed. You can use that to update the text label. More info on KVO here : http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html
... View more
09-07-2012
10:15 AM
|
0
|
0
|
2638
|
|
POST
|
A tile package only contains rasterized information about the map (map images if you will). Feature geometries and attributes are not stored. Consequently, you cannot identify features in a tile package and display popups for them. The Online-Offline sample is a better fit for you, but it may not be able to handle a large number of features.
... View more
09-07-2012
10:08 AM
|
0
|
0
|
1369
|
|
POST
|
In your post you say you want to open a webmap that contains a bing layer. But the code you posted shows that you're adding a bing layer to a map view. If you truly want to just open a webmap, you don't have to add layers to the map. The layers will be added for you when the webmap is opened. Look at the documentation here : http://resourcesdev.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Viewing_a_Web_Map/00pw00000055000000/ It shows you how to open a webmap. If you webmap contains a bing layer, then the webmap's delegate will be asked to provide a bing ID. You should implement that method to return a bing ID and then things should work.
... View more
09-07-2012
10:01 AM
|
0
|
0
|
1814
|
|
POST
|
As a workaround, you can loop through the rings of the multipart polygon (or paths of a multipart polyline) and create a separate geometry for each part.
... View more
09-07-2012
09:55 AM
|
0
|
0
|
2566
|
|
POST
|
Hi, Kirk - Does your app crash when the exception is encountered? Or does it just log those messages in the console and continue to work (although without the tiles) ? Can you share your TPK with us so that we can debug it. Have you tried recreating the TPK to see if the missing files are included subsequently? What version of ArcGIS did you use to create the TPK? 10.1 Pre-release or Final?
... View more
07-11-2012
10:32 AM
|
0
|
0
|
845
|
|
POST
|
Thanks for providing the test case. I can't repro the problem. I've tried both on the simulator and on iPad 2 (running iOS 5). Yet, the screenshots you provided are very compelling. Don't quite know why you're seeing this behavior.
... View more
07-05-2012
02:00 PM
|
0
|
0
|
4734
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|