Replace $attributes['kml_feed'] = url("kml/search/$type/$keys", NULL, NULL, TRUE); (etc) with custom-built URL to force the use of ?q= URLs.

CommentFileSizeAuthor
#1 trailingslashes.diff1.58 KBgeodaniel

Comments

geodaniel’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new1.58 KB

Adding trailing slashes has the same effect but still lets sites use clean URLs if they wish. It's worth noting that the nodes are not yet being filtered by the BBOX parameters that Google Earth passes back to Drupal.

geodaniel’s picture

Status: Reviewed & tested by the community » Fixed

committed to HEAD

Anonymous’s picture

Status: Fixed » Closed (fixed)