POST
|
I have your issue reproduced but I want to make sure how did you display your location? Is the code as follows? [self.mapView.locationDisplay startDataSource]; self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeDefault; If so, I think the behavior you reported is as designed. Because in the API reference of AGSLocationDisplay Class, it says: To make the map start displaying location information, use the startDataSource method, but ensure the map is loaded successfully before you do..
... View more
05-20-2015
01:59 PM
|
0
|
1
|
780
|
POST
|
Yes. This is a known bug. Please see BUG-000083513 : ArcGISTiledMapServiceLayer created by URL with proxy failed in 10.2.4 but works in 10.2.3
... View more
05-20-2015
12:26 PM
|
0
|
1
|
508
|
POST
|
Sorry for the late reply and I'm glad your problem is solved. Would you like to tell me more about how you solved the problem and the bug you found?
... View more
03-10-2015
12:57 PM
|
0
|
1
|
457
|
POST
|
If I understand correctly, popupDialog is an object of Popup class. In your code, it was set to null and never added into the PopupContainer. The ArcGISFeatureLayer class can create Popup as shown in the following sample code: MapView map = …; ArcGISFeatureLayer featureLayer = …; Feature feature = …; …… Popup popup = featureLayer.createPopup(map, 0, feature); PopupContainer popupContainer = …; popupContainer.addPopup(popup); // add popup to popup container View pop-ups—ArcGIS Runtime SDK for Android | ArcGIS for Developers Popup UI Customization | ArcGIS for Developers
... View more
03-04-2015
09:59 AM
|
2
|
1
|
457
|
POST
|
之前我有见过同样的问题,通常是因为你的ArcGIS Online account账号并不是ArcGIS for developer账号。 你可以: 1. 注册一个ArcGIS for Developer账号创建Client ID 2. 如果你在美国境外,联系当地的Esri Office 获取Client ID 3. 如果你在美国境内,打电话1-800-447-9778 获取Client ID License your app—ArcGIS Runtime SDK for Android | ArcGIS for Developers
... View more
03-03-2015
12:59 PM
|
0
|
1
|
498
|
POST
|
It seems that we are following a same workflow but I can not reproduce your issue. Would you like to try to delete the data folder(include the geodatabase parts) on your device and run it again? I doubt there is something wrong with the item part.
... View more
03-02-2015
02:04 PM
|
0
|
1
|
546
|
POST
|
I'm following a same workflow but can not reproduce your issue... it seems that editing works but can not upload. How is your network?
... View more
02-25-2015
10:38 AM
|
0
|
4
|
546
|
POST
|
Thank you for the information. I think the network do matters. I have seen some limitations when you load the map without network. However, I tested your scenario with Airplane mode on with the following code and it works. mMapView.addLayer(new ArcGISLocalTiledLayer(Environment.getExternalStorageDirectory().getPath()+"/ArcGIS/SanFrancisco.tpk"),0); and activity_main.xml should be: <!-- MapView --> <com.esri.android.map.MapView android:id="@+id/map" android:layout_width="fill_parent" android:layout_height="fill_parent"> </com.esri.android.map.MapView> Is there anything different with your code?
... View more
02-25-2015
10:35 AM
|
0
|
0
|
844
|
POST
|
Hi Abdul, Please check out this sample: Export Tile Cache | ArcGIS for Developers The Sample uses ExportTileCacheParameters class to which lets you specify if the downloaded tile cache will be a tile package(tpk) or a compact cache,and the default download location is <EXTERNAL-STORAGE-DIR>/ArcGIS/samples/tiledcache/ I'll bring the main Code Snippet: // Create an instance of ExportTileCacheTask for the mapService that // supports the exportTiles() operation final ExportTileCacheTask exportTileCacheTask = new ExportTileCacheTask( tileURL, null); // Set up GenerateTileCacheParameters ExportTileCacheParameters params = new ExportTileCacheParameters( createAsTilePackage, levels, ExportBy.ID, extentForTPK, mMapView.getSpatialReference()); // create tile cache createTileCache(params, exportTileCacheTask, tileCachePath); private void createTileCache(ExportTileCacheParameters params, final ExportTileCacheTask exportTileCacheTask, final String tileCachePath) { // Submit tile cache job and download exportTileCacheTask.generateTileCache(params, statusListener, new CallbackListener<String>() { @Override public void onCallback(String path) { Log.d("the Download Path = ", "" + path); // switch to the successfully downloaded local layer localTiledLayer = new ArcGISLocalTiledLayer(path); mMapView.addLayer(localTiledLayer); } } }
... View more
02-24-2015
10:42 AM
|
1
|
1
|
359
|
POST
|
If I understand correctly, is this your steps to repro the case?
... View more
02-24-2015
09:57 AM
|
0
|
6
|
546
|
POST
|
Are you working with Esri's sample feature service or your own service? Would you like to provide more information about the steps to repro this issue? I worked as follows and it works fine: 1. Download data with the download button 2. Edit on local data with the edit button, choose an symbol from template, add the symbol to the map. 3. Touch the check button to finish editing. 4. Sync back with the Sync button, agree to delete previously downloaded geodatabase.
... View more
02-23-2015
03:50 PM
|
0
|
1
|
546
|
POST
|
I tested your code and the issue can be reproduced. I think the reason is that you need to set the opacity in the layerDidLoad method in delegate. That confirms your AGSFeatureTableLayer is loaded. -(void)layerDidLoad:(AGSLayer *)layer{ if([layer isKindOfClass:[AGSFeatureTableLayer class]]){ AGSFeatureTableLayer* ftLayer = (AGSFeatureTableLayer*)layer; [ftLayer setOpacity:0.2]; } }
... View more
02-19-2015
04:54 PM
|
0
|
0
|
216
|
POST
|
Hi Shailendra, I'm afraid right now we don't have a similar method in Android to do so. Initialization parses Json from REST end point.
... View more
02-19-2015
01:27 PM
|
0
|
0
|
323
|
POST
|
I can not reproduce this issue with 10.2.4 and 10.2.5. Would you like to provide more information about the settings? How is your network settings?
... View more
02-19-2015
12:04 PM
|
0
|
1
|
844
|
POST
|
I tested the code and seems it works on ArcGIS Runtime SDK for Android 10.2.5. I noticed it has been a while so I'm not sure if you still have the issue. Besides, it seems that your layer variable name is testLayer but when you log it, the layer variable name is featureLayer. Please test the following code and let me know if it works: final ArcGISFeatureLayer testLayer = new ArcGISFeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSFields/FeatureServer/0", ArcGISFeatureLayer.MODE.SNAPSHOT); testLayer.setOnStatusChangedListener(new OnStatusChangedListener() { private static final long serialVersionUID = 1L; public void onStatusChanged(Object arg0, STATUS arg1) { if (arg1 == STATUS.INITIALIZED) { Field[] fields = testLayer.getFields(); Log.d(TAG, testLayer.getName() + ": found " + fields.length + " fields"); boolean found = false; for (Field field : fields) { if (testLayer.getField(field.getName()) != null) { Log.d(TAG, testLayer.getName() + ": found field object for " + field.getName()); found = true; } } if (!found) { Log.d(TAG, testLayer.getName() + ": no field objects found by name"); } } } }); I got the following outputs: 02-19 11:35:51.207 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found 23 fields 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for objectid 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for field_kid 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for approxacre 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for field_name 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for status 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for prod_gas 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for prod_oil 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for activeprod 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for cumm_oil 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for maxoilwell 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for lastoilpro 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for lastoilwel 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for lastodate 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for cumm_gas 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for maxgaswell 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for lastgaspro 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for lastgaswel 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for lastgdate 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for avgdepth 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for avgdepthsl 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for polydate 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for field_type 02-19 11:35:51.208 6837-6837/com.arcgis.android.samples.maps.helloworld D/Test!!﹕ Current Kansas Field Production: found field object for field_kidn
... View more
02-19-2015
11:40 AM
|
0
|
0
|
183
|
Title | Kudos | Posted |
---|---|---|
1 | 01-21-2016 04:58 PM | |
1 | 12-04-2014 03:45 PM | |
1 | 10-21-2015 11:49 AM | |
1 | 02-24-2015 10:42 AM | |
1 | 12-16-2015 03:35 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|