A user recently asked whether there was a blank tiled layer anywhere that could save them temporarily after they pushed a build to the Apple App Store. I wasn't aware of one, but knowing that the Runtime SDKs and JS APIs would be OK with a tiled layer that was only partially generated, it struck me that ArcGIS Online could support a pretty efficient workflow for creating one.
So, here it is.
- Log in at https://developers.arcgis.com and create a new layer:
- Set up the layer (no harm allowing attachments but since this layer will never hold any data I uncheck that option):
- Open the new layer in ArcGIS Online:
- Click Publish to create a tiled layer from the feature layer:
- Wait for it to spin up, then give the tiled layer a name and make sure it's visible across all ranges (don't worry - we won't actually create all those tiles!), and click OK:
- Now only generate the smallest scale set of tiles and leave all other levels blank. Select the scale level with least tiles and click Create Tiles:
- You'll be given a warning dialog. Make sure the numbers make sense and you're not about to accidentally burn through all your credits and click "Yes, create tiles":
- ArcGIS Online will tell you things are baking… You can close the tile management panel now.
and ArcGIS Online will still tell you things are baking…
- When it's done, you'll see 0% of the tiles are available. Don't worry. 24 out of a few hundreds of millions of tiles is really close to 0% Click Manage Tiles to review what was created. Just make sure that 100% of the tiles you actually requested for that one scale level were created:
- If you need to share the tiled layer, go ahead, but otherwise that's it - you've generated a blank tiled service layer that the APIs and SDKs can use.
You generally won't need this hack, but maybe you'll find yourself in a bind and this can help out.