After the research at the store
XML file outputed by the code below
<?php echo ‘<?xml version=“1.0” encoding=“UTF-8”?><kml xmlns="http://www.opengis.net/kml/2.2”><Document>’; $file = fopen(“customer_map_positions.csv”, “r”); if (!$file) {echo ‘Error getting map data’;} while($map_item = fgetcsv($file,1000)){ echo “<Placemark><name>”; echo $map_item[0]; echo ‘</name><description>’; echo ‘</description>Point><coordinates>’; echo $map_item[4] . ‘,’ . $map_item[2] . ‘,50’; echo “</coordinates></Point></Placemark>”; } fclose($file); echo ‘</Document></kml>'; ?>