|
POST
|
You should first download ArcGIS Runtime SDK for iOS. Then refer Conceptual and API Reference docs to get yourself familiar with SDK. Then you can download the samples and test them. Regards, Nimesh
... View more
05-14-2012
08:40 AM
|
0
|
0
|
1798
|
|
POST
|
Yes, correct! It should work but ONLY if you are setting the value after feature layer is finished loading. Otherwise, server returned value will override your setting. Regards, Nimesh
... View more
05-10-2012
04:31 PM
|
0
|
0
|
2413
|
|
POST
|
To handle the bing and open street maps you should check the layerType property of AGSWebMapLayerInfo. Regards, Nimesh
... View more
05-10-2012
10:56 AM
|
0
|
0
|
2221
|
|
POST
|
Are you working with other web map? Not the one which you are creating from portal item? If no, you can not use openIntoMapView:withAlternateBaseMap. You should rather create a AGSTiledMapServiceLayer from base map url and insert it at index 0. - (void) webMapDidLoad:(AGSWebMap*) webMap { //webmap data was retrieved successfully [self.mapView removeMapLayerWithName:@"Base Map"]; AGSWebMapLayerInfo *baseMapLayer = [webMap.baseMap.baseMapLayers objectAtIndex:0]; self.baseMapLayer = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:baseMapLayer.URL]; [self.mapView insertMapLayer:self.baseMapLayer withName:@"Base Map" atIndex:0]; } Hope this make things clear to you! Regards, Nimesh
... View more
05-10-2012
08:54 AM
|
0
|
0
|
2221
|
|
POST
|
1. If possible, can you please attach your tpk file which is being used to create the AGSLocalTiledLayer along with sample code? 2. Any idea what scenario causes the crash? Map interaction? Zoom/Pan? Regards, Nimesh
... View more
05-09-2012
01:11 PM
|
0
|
0
|
776
|
|
POST
|
Yes, portal sample will answer all your questions. It depends what you want to do... 1. If you want just tiled layer out of it then you can initiate AGSWebMap with webMapWithPortalItem: method and openInToMapView. 2. If you want to replace base map in your existing web map then you can initiate AGSWebMap with webMapWithPortalItem: method and use openIntoMapView:withAlternateBaseMap: method on existing web map. Regards, Nimesh
... View more
05-09-2012
01:04 PM
|
0
|
0
|
2221
|
|
POST
|
Peter and Lynn, This is a current design of the map view. We'll see what we can do to improve this. Thank you for reporting. Regards, Nimesh
... View more
05-09-2012
09:34 AM
|
0
|
0
|
1753
|
|
POST
|
Okay..let???s look at one issue at a time. You can create new thread for other issue. By looking at the code???there are few issues. 1. You are setting up your map view ([self setupMapView:YES]) in videDidLoad and immediately creating an envelope with self.mapView.spatialReference for zoom function. It may happen that spatialReference of the mapView will be nil as map view may or may not be loaded. If you want to do this then you should not rely on self.mapView.spatialReference and provide known spatial reference or you should move this code in the mapViewDid load where you know that self.mapView.spatialReference has valid spatial reference as map view successfully loaded. 2. You are observing MapDidEndZooming notification and in respondToZoomlevelChange you are keeping a copy of self.mapView.visibleArea.envelope without checking whether it???s not-nil/valid envelope or not. 3. Immediately you are checking some condition and if it???s true then you are resetting the map view. Again, you are using the self.mapView.spatialReference in the AGSGeometryEngine???s projectGeometry method without verifying whether spatial reference is valid or not. You should use mapView???s properties only when you are confirm whether map is loaded successfully. Hope this helps! Regards, Nimesh
... View more
05-09-2012
09:11 AM
|
0
|
0
|
1891
|
|
POST
|
Okay..there are two issues here.. 1. You are autoreleasing the AGSPortal object. What does that mean? - By the time portal loads it is released and delegate won't fire. What to do? - Create a retain property of AGSPortal. 2. You are trying to get the portalInfo from portal before it's finish loading. You won't get anything. What to do? - You should move following code in the portalDidLoad. AGSPortalQueryParams *queryParam = [AGSPortalQueryParams queryParamsWithQuery:portal.portalInfo.basemapGalleryGroupQuery]; [portal findGroupsWithQueryParams:queryParam]; Hope this helps! Regards, Nimesh
... View more
05-08-2012
04:35 PM
|
0
|
0
|
2221
|
|
POST
|
Yes, it's available. You should use the Portal API. The AGSPortalInfo::basemapGalleryGroupQuery property provides a query string. Here are the steps you need to follow to get all the base maps.. 1. Create AGSPortalQueryParams object with method queryParamsWithQuery by passing the basemapGalleryGroupQuery. 2. Use AGSPortal's findGroupsWithQueryParams to find the group. 3. Create another AGSPortalQueryParams object with result group id. AGSPortalQueryParams *queryParams = [AGSPortalQueryParams queryParamsForItemsInGroup:@"<group_id>"]; 4. Use AGSPortal's findItemsWithQueryParams method to find item's of the group. The returned results will be all base maps as AGSPortalItem array. Hope this helps! Regards, Nimesh
... View more
05-08-2012
09:04 AM
|
0
|
0
|
2221
|
|
POST
|
The first look at your custom tiled layer says that it's incomplete. You're not setting the _units. Just set "_units = AGSUnitsMeters;" in the init method and it should stop crashing. Regards, Nimesh
... View more
05-04-2012
09:25 AM
|
0
|
0
|
1407
|
|
POST
|
It'll be interesting to know why it's crashing with your custom tiled layer. If possible, please share the sample application which demonstrates the issue. Regards, Nimesh
... View more
05-03-2012
08:27 AM
|
0
|
0
|
1407
|
|
POST
|
You should use AGSFeatureLayer's bufferFactor property. Here is the doc for that... This is the buffer around the current extent that features are retrieved for in OnDemand mode. Features are not retrieved again until either they expire or the map extent changes and is no longer in the buffered extent. Buffer factor can be up to 10. If it is set to 0, every time the map extent is changed a requery will take place in OnDemand mode. If the buffer factor is less than 0, then the layer will never requery from an extent change. This is not usually recommended. Hope this helps! Regards, Nimesh
... View more
05-02-2012
04:04 PM
|
0
|
0
|
1312
|
|
POST
|
You should use web proxy tools like Charles or Fidler to intercept the requests. Regards, Nimesh
... View more
05-02-2012
03:50 PM
|
0
|
0
|
534
|
|
POST
|
The link which you mentioned is a sample. You can download, look at the code and use in your application. What more information do you need. Please elaborate. Regards, Nimesh
... View more
05-02-2012
08:19 AM
|
0
|
0
|
555
|
| 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
|