take kml coordinates into account as well