|
POST
|
Thanks for the additional info, Yue Wu. Kamal Mittal To clarify, even though you need to provide a geometry to the AGSGenerateGeodatabaseParameters.extent property, setting the layer options as you did should override that and return all data.
... View more
03-30-2017
12:56 PM
|
0
|
1
|
2257
|
|
POST
|
Hey Kamal, Could you be a little more specific about what error you're getting?
... View more
03-29-2017
09:19 PM
|
0
|
1
|
2257
|
|
POST
|
Hi, It's not included in the SDK, but I have written an implementation for the 10.2.x Runtime: GitHub - nixta/clusterlayer-plugin-ios: A cluster layer extension to the ArcGIS Runtime for iOS I'm in the process of updating it for the new v100 Runtime but that's still a little way off. I'm curious. Were you looking for a cluster layer for the old v10.2 Runtime or the new v100 Runtime? Cheers, Nick.
... View more
03-29-2017
10:43 AM
|
2
|
4
|
4196
|
|
POST
|
Not at this time. However, if you have an offline geodatabase (you can get that by taking a FeatureService offline, from ArcGIS Desktop's "Export for Runtime" tool, or from an MMPK), you could query against that. It's not as streamlined as using a Locator for geocoding (for example, the performance may not be optimized for geolocating, you might get more or fewer results than expected, you will not get a suggestions API, the geodatabase file could end up larger than the locator file would have), but depending on your requirements it could serve your purpose. When you take the feature service offline, ensure that you include the field(s) you want to search on. Then once you have your AGSGeodatabaseFeatureTable, you can call queryFeaturesWithParameters:completion. Depending on the geometry type of the feature service you may need to process the results to get a suitable extent to zoom to. Nick.
... View more
03-27-2017
11:01 AM
|
1
|
1
|
1597
|
|
POST
|
Hi Kamal, I'm not sure I understand what you mean by "like streetmap premium or Google map". As it is, the tool can download the basemap types listed when you click the basemap picker below the zoom controls. The full set of Esri-provided basemaps that are available can be found in this group. You would modify this code to add any other suitable service layers ("suitable" means they must have offline enabled). Generating a TPK through the tool requires that the tiles are hosted by ArcGIS Online or ArcGIS Server and the tile service is configured to enable TPK export (see step 6 here). So you cannot get Google Maps. Related, we have negotiated with our various data providers to enable the data to be taken offline so you don't have to worry about that. This applies to all the maps in the group I link to above. If you have Streetmap Premium, you can generate your own TPKs/VTPKs/MMPKs but you will currently need to use the desktop tools to do that. Cheers, Nick.
... View more
03-27-2017
10:50 AM
|
0
|
1
|
2828
|
|
POST
|
Hi Kamal, You could try this tool: Tile Package Estimator Sign in with an ArcGIS Online Org or Developer account and you can get an estimate for how big the TPK will be. The tool can also create a TPK to download (once it's generated, you'll see a download icon). Note that a TPK covering high zoom levels will be very large. There is also a limit of 100,000 tiles for the TPKs these services generate. Going to level 17 and not including Staten Island will be about 28,000 tiles (about 385Mb). 438,000 tiles to level 19 (so you couldn't generate that TPK from these services). Vector Tile Basemaps in a VTPK would be a much smaller size but you currently need the source data (e.g. Streetmap Premium) and ArcGIS Pro to create those. Cheers, Nick. P.S. Note: this tool is not an official Esri tool and is not supported but it's not doing anything unusual: See the source here.
... View more
03-27-2017
08:15 AM
|
0
|
6
|
2828
|
|
POST
|
Hi Kamal. At this time you need to use ArcGIS Desktop or ArcGIS Pro to generate these. The locator can also be part of a Mobile Map Package.
... View more
03-27-2017
07:41 AM
|
0
|
3
|
1597
|
|
POST
|
Hi Kamal. For each layer you specify in the AGSGenerateGeodatabaseParameters object that you pass to generateJobWithParameters(), you can specify an AGSGenerateLayerOption object. That object has a useGeometry property that you can set to false.
... View more
03-27-2017
07:38 AM
|
0
|
3
|
2257
|
|
BLOG
|
That's superb! Thanks for posting this and congrats to the assistant. Great job!
... View more
03-02-2017
01:31 PM
|
2
|
0
|
14934
|
|
POST
|
Thanks for posting that, Ryan Olson. For reference, here's a Gist with the Swift code: Runtime Line Intersection Points · GitHub The Gist also discusses a potential edge-case worth being aware of, depending on how your input data is generated.
... View more
01-05-2017
09:51 AM
|
1
|
1
|
2275
|
|
POST
|
In Runtime v100, the Loadable Pattern is key. There's a great section in the Guide that talks about Loadable Resources: Loadable pattern for asynchronous resources—ArcGIS Runtime SDK for iOS | ArcGIS for Developers So let's say you have a layer, you can check that it's loaded or failed to load with code like this (Swift 3 syntax): layer.load() { error in
guard error == nil else {
// The layer failed to load
print("Error loading the layer \(error?.localizedDescription)")
return
}
// Now the layer has loaded and we can do something here.
print("Layer \(layer.name) loaded OK!")
}
A really neat aspect of this is that you can call ".load()" multiple times with multiple handlers and they'll all get called when the resource loads. In addition, if the resource has already loaded, the handler will just get called immediately. That's all described in more detail at the above link.
... View more
11-22-2016
01:54 PM
|
1
|
0
|
963
|
|
POST
|
You probably need to share the layer with everyone.
... View more
07-08-2016
06:43 AM
|
1
|
0
|
2482
|
|
POST
|
Hey Priti, Glad it worked. Not sure where the process failed, so here's the whole thing, step-by-step: Creating a blank hosted tiled layer Let me know how that goes. Cheers, Nick.
... View more
07-07-2016
10:54 AM
|
0
|
2
|
2482
|
|
POST
|
Hi Sven, You should set the AGSQuery.outFields property to include the fields you want to access on the returned features. So before you call queryResultsWithParameters, do something like: q.outFields = @[@"StorviltID"]; Let me know if that doesn't work. Cheers, Nick.
... View more
07-07-2016
07:40 AM
|
1
|
0
|
1010
|
|
POST
|
Try this: http://services.arcgis.com/OfH668nDRN7tbJh0/arcgis/rest/services/No_data_tiles/MapServer I created this by signing in at developers.arcgis.com and creating a new layer at https://developers.arcgis.com/layers/#/new/ I created an empty point Feature Service with a single field and published that. Then I clicked the "Open in ArcGIS Online" button to see the new Feature Service's item page, and from there clicked "Publish" a new Tile Layer. From there in the Manage Tiles panel I picked the `:147,914,382 scale to create just 20 or so tiles at a cost of about 0.06 credits total. That generated the tile service link above. You can make use of that for a bit, but I recommend you create your own because I could easily delete that in a cleanup. Sounds like you won't need it for long. Do test that it works as you expect though - in my testing it seems to work, but I might have misunderstood what you want. Hope that helps! Nick.
... View more
06-24-2016
01:24 PM
|
2
|
1
|
2482
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 2 weeks ago | |
| 4 | 3 weeks ago | |
| 1 | 01-29-2026 09:39 AM | |
| 1 | 12-17-2025 10:12 AM | |
| 1 | 11-05-2025 10:52 AM |