Why won't my User Map Shapes or KML Shape file display?

KML File Requirements

In order to correctly display User Map Shapes in ForeFlight Mobile, all of the following 3 conditions must be met:

1) the KML file must end in ".kml" in the name.

2) The file must be smaller than 4MB.

3) The file must also contain the actual KML elements and not just a link to the elements.

 

Sample of an incompatible URL element 

Here is an example of a KML file (opened with a text editor) that will not display in ForeFlight Mobile due to the URL link element: 

<Document>
    <name>Layer 1</name>
    <NetworkLink>
        <name>Practice Areas</name>
        <Link>
            <href>http://www.google.com/maps/d/u/0/kml?forcekml=1&amp;mid=1rEoiVDTcLFWYB3SjJ4ZoVCbsyUQ&amp;lid=1TakZuaLBfo</href>
        </Link>
    </NetworkLink>
</Document>

NOTE: See below for instructions in the following article for converting a file like this into a KML file that can be imported. 

     How do I format a KML Shape File that has a URL element in it?

 

Sample of a properly formatted KML element

A correctly constructed KML file will include details about each point, line, and/or shape, and will look like something this:

<Document>
    <name>Layer 1</name>
    <Style id="line-000000-6-nodesc-normal">
<LineStyle>
<color>ff000000</color>
<width>6</width>
</LineStyle>
<BalloonStyle>
<text><![CDATA[<h3>$[name]</h3>]]></text>
</BalloonStyle>
</Style>
...
<Placemark>
<name>Line 19</name>
<styleUrl>#line-000000-6-nodesc</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-92.9523325,43.3383432,0
-92.0501822,44.2968283,0
-92.2615145,45.3186023,0
...