|
POST
|
Faisal, The attributes property of the feature should include the object id (and the global id, if available) of the feature along with the other attributes (desired). Also, you should include the geometry. Regards, Nimesh
... View more
03-05-2012
07:28 AM
|
0
|
0
|
2331
|
|
POST
|
The best option is to add one more tiled layer (make sure that it has same spatial reference as bing map) which supports the level you want to view (below bing map's last level). Regards, Nimesh
... View more
03-05-2012
07:15 AM
|
0
|
0
|
3783
|
|
POST
|
What is the exact error message you get? Are you working with map service or feature layer? Is there any security set on the service? Elaborate your requirements please... Regards, Nimesh
... View more
03-02-2012
01:01 PM
|
0
|
0
|
2236
|
|
POST
|
Here is the syntax.. NSError *error = nil; self.featureLayer = [[AGSFeatureLayer alloc] initWithURL:[NSURL URLWithString:@"url"] mode:AGSFeatureLayerModeOnDemand credential:nil error:&error]; Regards, Nimesh
... View more
03-02-2012
12:18 PM
|
0
|
0
|
2236
|
|
POST
|
Okie..so you want to know about the validity of the feature layer before adding it to map. For that you must use synchronous constructor of the feature layer Q: How to find whether constructor is synchronous or asynchronous? A: Method which takes "error" parameter are synchronous. You should initialize AGSFeatureLayer with initWithURL:mode:credential:error: method and then check the loaded property before adding to the map. If it's invalid layer then error object will have some information. Hope this helps! Regards, Nimesh
... View more
03-02-2012
11:43 AM
|
0
|
0
|
2236
|
|
POST
|
If self.activeFeatureLayer.loaded property is TRUE then it is loaded successfully. Regards, Nimesh
... View more
03-02-2012
11:19 AM
|
0
|
0
|
2236
|
|
POST
|
Good to know that you got it working 🙂 Regards, Nimesh
... View more
03-02-2012
10:05 AM
|
0
|
0
|
1125
|
|
POST
|
Great! Please mark thread as answered! 🙂 Regards, Nimesh
... View more
02-28-2012
07:17 AM
|
0
|
0
|
933
|
|
POST
|
You must create a retain property for the GraphicDetailViewController so it'll be around when you try to view it in the callout. Regards, Nimesh
... View more
02-24-2012
07:44 AM
|
0
|
0
|
975
|
|
POST
|
When you add any layer to the mapView, it returns a view (UIView). You can control the visibility of the layer by setting it's UIView's hidden property. You and hide the unwanted layers to avoid fetching data. Regards, Nimesh
... View more
02-24-2012
07:39 AM
|
0
|
0
|
3390
|
|
POST
|
Could you please elaborate, what you are trying to do? Are you writing a custom tiled layer or working with it? or working with normal tiled layer and trying to get the AGSLOD information? Regards, Nimesh
... View more
02-24-2012
07:36 AM
|
0
|
0
|
1125
|
|
POST
|
You should try to find the iOS SDK help, how to get the URL of a photo in camera roll or library. Regards, Nimesh
... View more
02-24-2012
07:30 AM
|
0
|
0
|
1545
|
|
POST
|
You are trying to create a popupInfo for a graphic in a graphics layer and not in feature layer. Hence, you cannot control the order of the fields. If you want to maintain the order than you should set desired AGSPopupFieldInfo's array in AGSPopupInfo::fieldInfos. Like this.. 1. Create a new mutable array. 2. Read each record of popupInfo.fieldInfos and add in the new array in desired order. 3. Set new mutable array to popupInfo.fieldInfos Hope this helps... Regards, Nimesh
... View more
02-24-2012
07:28 AM
|
0
|
0
|
933
|
|
POST
|
Here is the modified code of yours to show and image url.. NSString *imageUrl = @"http://upload.wikimedia.org/wikipedia/en/1/1e/New-esri-logo.gif"; AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic]; NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:imageUrl, @"sourceURL", nil]; AGSPopupMediaInfo *mediaInfo = [[AGSPopupMediaInfo alloc] initWithTitle:@"Title" caption:@"Caption" type:AGSPopupMediaInfoTypeImage value:dict]; info.mediaInfos = [NSArray arrayWithObject:mediaInfo]; self.popupVC = [[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO]; Regards, Nimesh
... View more
02-23-2012
03:03 PM
|
0
|
0
|
1545
|
|
POST
|
Is mapUrl a URL string pointing to an image? If yes, it should work. You can't use AGSAttachmentManager with AGSGraphicsLayer. Regards, Nimesh
... View more
02-23-2012
08:28 AM
|
0
|
0
|
1545
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-18-2024 12:33 PM | |
| 1 | 03-12-2024 08:54 AM | |
| 1 | 09-28-2023 08:19 AM | |
| 2 | 07-28-2023 08:07 AM | |
| 1 | 06-27-2013 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-30-2026
10:15 AM
|