ArcGIS Desktop 10.1 SP used to create two TPKs
- Using an mxd with vector data (Some points, lines and polygons with simple symbology using pure red, green and blue colors)
- Using an AGS map service that serve the same content as the mxd (above)
20 LODs (required) and PNG output. Both the map service and the mxd use a state plane SRS.The results:
- The vector-generated TPK can be drag-n-dropped into ArcMap and display just fine.
- A Flex API mobile map using the TPK as a ArcGISLocalTiledLayer does not display the TPK
- The TPK generated from the AGS Map service can be drag-n-dropped into ArcMap and display just fine - albeit grainy (expected)
- The Flex API mobile map using the TPK as a ArcGISLocalTiledLayer does displays the TPK just fine
So what's up? Am I missing some special magic to create the TPK? The geoprocess:
CreateMapTilePackage D:\documents\Project\Maps\Some.mxd ONLINE D:\documents\Tiles/Tiles.tpk PNG 20 # # #
The Flex code:
<esri:Map width="100%" height="100%">
<esri:ArcGISLocalTiledLayer file="{File.documentsDirectory.resolvePath('Tiles/Tiles.tpk')}"/>
</esri:Map>