nchutchind/Kurogo-Mobile-Web — comment on commit 9a8e693743a8a6237a35b181f5b5e9e021bb8e33
File:  line 0
By sonya:

Thanks for catching the fatal errors in the map libraries. I let Pete know that they fix issues that we actually just discovered earlier today.

The change on line 105 will break for data sources that are not KML and don't implement getDescription(), so it will need to be reverted it if we merge all the changes here. If necessary the change needs to go in KMLPlacemark, which currently takes either

or elements as the subtitle. If we are going to support using the description as the subtitle in KML, we should consider emulating Google Earth by using if it exists and the first two lines of otherwise (https://developers.google.com/kml/documentation/kmlreference#snippet).