POST
|
I'll take a look at the sync option. Right now I'm using a AGSOfflineMapTask to get the layers. It is a public layer but I'd rather DM it. Can you follow me so I can DM? Thanks!
... View more
11-04-2019
07:15 AM
|
0
|
0
|
659
|
POST
|
Hi Nick! I was able to make it work and I can download the layers into an offline map using geodatabase files and load them into the map from the device filesystem. The only issue I'm having is one of the layers is not downloading. I believe this layer is composed of different other layers. From the map maintainers: "The new layers are really just one layer. It’s a hosted feature service which is copied and symbolized different ways in the map." Do you know what could be happening here? Anything special they would need to do on that specific layer? Thanks!
... View more
11-01-2019
09:11 AM
|
0
|
2
|
659
|
POST
|
We just realized this morning that what you say is exactly what's happening. It's not about the 100.6 upgrade, it's about the map feature layer changing to service. Which way do you recommend to download the map data in the feature services for offline use, generating a geodatabase or using a manual cache on the Service feature table? Does either expire? Any licensing restrictions? Old trail data was about 15MB, I doubt it's much bigger now. Thank youNicholas Furness!
... View more
09-17-2019
02:19 PM
|
0
|
4
|
659
|
POST
|
I pull data from a web map that's transitioning to a different end point with updated information and layers. Before, I used to be able to save the whole map to JSON including all feature layers and their features using the map.toJSON() method. In the new web map, I get the map's information (basemapLayers, spatialReference, etc.) and links to the feature layers REST end points, but not the actual data in the layers. I use this toJSON() to cache the feature layers since they're small enough and has worked great in the past because they only change every few weeks, saving queries to the server. I'm using iOS SDK 100.6. What can be causing this? Any server side configuration? EDIT: Sample of new layer information when downloading the map: "operationalLayers" : [ { "itemId" : "xxxx", "layerType" : "ArcGISFeatureLayer", "visibility" : true, "id" : "xxxx", "title" : "xxxxx", "opacity" : 0.88, "url" : "https:\/\/services.arcgis.com\/xxxxx\/arcgis\/rest\/services\/xxxxx\/FeatureServer\/0" }, ... Sample of old layer information: "operationalLayers" : [ { "visibility" : true, "id" : "xxx", "title" : "xxx", "layerType" : "ArcGISFeatureLayer", "opacity" : 0.80000000000000004, "featureCollection" : { "layers" : [ { "featureSet" : { "geometryType" : "esriGeometryPolygon", "features" : [ { "attributes" : { ... }, "geometry" : { "rings" : [ [ ... ] ], "spatialReference" : { "latestWkid" : 3857, "wkid" : 102100 } } }, ... ] }, "layerDefinition" : { "allowGeometryUpdates" : true, "hasZ" : false, "maxScale" : 0, "supportedQueryFormats" : "JSON, geoJSON", "isDataVersioned" : false, "drawingInfo" : { "fixedSymbols" : true, "renderer" : { "type" : "simple", "symbol" : { "outline" : { "style" : "esriSLSSolid", "type" : "esriSLS", "width" : 3, "color" : [ 38, 115, 0, 255 ] }, "style" : "esriSFSSolid", "type" : "esriSFS", "color" : [ 38, 115, 0, 88 ] } }, "transparency" : 0, "labelingInfo" : [ { ... } ] }, "extent" : { "xmin" : -999999, "xmax" : -999999, "spatialReference" : { "latestWkid" : 3857, "wkid" : 102100 }, "ymin" : 999999, "ymax" : 999999 }, "hasAttachments" : false, "objectIdField" : "xxxx", "supportsRollbackOnFailureParameter" : true, "name" : "xxxx", "geometryType" : "esriGeometryPolygon", "supportsAdvancedQueries" : true, "capabilities" : "Create,Delete,Query,Update,Editing", "supportsStatistics" : true, "type" : "Feature Layer", "hasM" : false, "minScale" : 3988894, "supportsAttachmentsByUploadId" : true, "supportsCalculate" : true, "defaultVisibility" : true, "supportsValidateSql" : true, "spatialReference" : { "latestWkid" : 3857, "wkid" : 102100 }, "fields" : [ { "editable" : false, "alias" : "xxx", "length" : 0, "name" : "xxx", "nullable" : false, "type" : "esriFieldTypeOID" }, ... ], "hasStaticData" : false, "currentVersion" : 10.41 }, "nextObjectId" : 89, "popupInfo" : { "showAttachments" : false, "title" : "xxxx", "fieldInfos" : [ { "format" : { "places" : 0, "digitSeparator" : true }, "stringFieldOption" : "textbox", "isEditableOnLayer" : false, "visible" : false, "isEditable" : false, "label" : "xxx", "fieldName" : "xxx" }, ... ] }, "title" : "xxxx" } ], "showLegend" : true } }
... View more
09-07-2019
08:36 AM
|
0
|
6
|
849
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|