abhishekshukla4489 / gmaps-samples

Automatically exported from code.google.com/p/gmaps-samples
0 stars 0 forks source link

Outdated data structure in college-finder/data/colleges.kml #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The college-finder/main.js is expecting the Placemark's street address to 
be in an <ExtendedData> tag, but instead in the .kml included in the 
sample's /data directory the street address is in a <Description> tag.

i.e., the correct format is:
      <ExtendedData>
        <Data name="Address">
          <value>
            1000 E Victoria St, Carson, California 90747-0005
          </value>
        </Data>
      </ExtendedData>

Thus there is a mismatch between the sample's source code and the sample's 
data.

After adding the address to the .kml, the import was successful and the 
college-finder sample code ran fine against the colleges.kml that was 
imported (after setting the api_visible to true).

Original issue reported on code.google.com by sgorn...@gmail.com on 13 Jan 2010 at 6:16