Table of contents
TOC
Collapse the table of content
Expand the table of content

Temporary map data cache size

Last Updated: 12/12/2016

When a user attempts to view map data for a location that was not preloaded or is not already installed on the phone, map data will be downloaded to dynamically render a map. This data is stored in a temporary cache that the Maps application maintains for this purpose. By default this cache is allowed to use a maximum of 128 MB of storage. For phones with a limited amount of available storage, OEMs can specify that the cache only use a maximum of 64 MB of storage. Microsoft recommends that this customization only be used for phones with a limited amount of internal storage space. Reducing the size of the online cache for Map data does not affect the size of the installed (or offline) maps.

Constraints: FirstVariationOnly

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample or use the sample UseSmallerCache.xml file.

    <?xml version="1.0" encoding="utf-8" ?>  
    
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="UseSmallerCache"  
                         Description="Use to reduce the size of the online cache for Map data to a maximum of 64 MB of storage."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
        <Settings Path="Maps/Storage">  
          <Setting Name="UseSmallerCache" Value="" />  
        </Settings>  
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Set UseSmallerCache to one of the following values:

    ValueDescription

    1 or Yes

    Reduces the size of the online cache for Map data to a maximum of 64 MB. This does not affect installed (offline) maps.

    0 or No

    Reverts the size of the online cache for Map data to the default maximum of 128 MB.

Send comments about this topic to Microsoft

© 2017 Microsoft